From rusty at radservices.com Mon Aug 1 02:08:25 2005 From: rusty at radservices.com (rusty@radservices.com) Date: Sun, 31 Jul 2005 20:08:25 -0400 (EDT) Subject: [Mapit] No pictures showing up Message-ID: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> I've been trying to get map-it up and running for a few days now. my host requires a .cgi or.fcgi extension for all cgi files. I have renamed showmap and genmap to their approriate CGI and changed the lines in the files where showmap = showmap.cgi and genmap=genmap.cgi. But I don't know if I missed anything because I can't get any images to show up in the map. I have clickable links in the map, but no images. checkconfig.py runs fine and can open all images. The FAQ mentions running the processes without web server running. when I run genmap.cgi, it looks like I'm getting some image output, but if I try save this off it is just corrupt data. has anyone ever seen this? if you would like to see what I'm talking about, go here. http://chatt-bsa.org/mapit/showmap.cgi I have made it so anyone can browse from the directory mapit down. I have 2 data directories that I am working in, but the herne data is configured live now. Any help would be appreciated. Go easy, while I'm adept at Unix, I'm a python noob. Thanks Rusty From jan at intevation.de Thu Aug 11 10:47:50 2005 From: jan at intevation.de (Jan-Oliver Wagner) Date: Thu, 11 Aug 2005 10:47:50 +0200 Subject: [Mapit] No pictures showing up In-Reply-To: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> References: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> Message-ID: <20050811084750.GA15952@intevation.de> Hello Rusty, it is a very long time ago that I worked with MapIt!. On Sun, Jul 31, 2005 at 08:08:25PM -0400, rusty at radservices.com wrote: > I've been trying to get map-it up and running for a few days now. > > my host requires a .cgi or.fcgi extension for all cgi files. I have > renamed showmap and genmap to their approriate CGI and changed the lines > in the files where showmap = showmap.cgi and genmap=genmap.cgi. But I > don't know if I missed anything because I can't get any images to show up > in the map. I have clickable links in the map, but no images. There are a lot places where to exchange the name. Are you sure, you got them all? > checkconfig.py runs fine and can open all images. > > The FAQ mentions running the processes without web server running. when I > run genmap.cgi, it looks like I'm getting some image output, but if I try > save this off it is just corrupt data. > > has anyone ever seen this? > > if you would like to see what I'm talking about, go here. > > http://chatt-bsa.org/mapit/showmap.cgi > I have made it so anyone can browse from the directory mapit down. > I have 2 data directories that I am working in, but the herne data is > configured live now. > > Any help would be appreciated. Go easy, while I'm adept at Unix, I'm a > python noob. I suggest you first try out your application on a maschine where you don't have to rename any file to make the problem tracking easier. If it works, the problem lies in the renaming. If it doesn't work, there is something else not right. Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ Kolab Konsortium http://kolab-konsortium.de/ FreeGIS http://freegis.org/ From bernhard at intevation.de Thu Aug 11 18:22:33 2005 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 11 Aug 2005 18:22:33 +0200 Subject: [Mapit] No pictures showing up In-Reply-To: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> References: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> Message-ID: <20050811162233.GJ29291@intevation.de> Hello Rusty, On Sun, Jul 31, 2005 at 08:08:25PM -0400, rusty at radservices.com wrote: > my host requires a .cgi or.fcgi extension for all cgi files. I have > renamed showmap and genmap to their approriate CGI and changed the lines > in the files where showmap = showmap.cgi and genmap=genmap.cgi. But I > don't know if I missed anything because I can't get any images to show up > in the map. I have clickable links in the map, but no images. > http://chatt-bsa.org/mapit/showmap.cgi saving the data from http://chatt-bsa.org/mapit/genmap.cgi, I do get a jpg with a map, so your setup is not that bad. Looking at the output of showmap.cgi, I can see that "genmap" is missing the ".cgi" in there. This is the reason why you do not get a map displayed. You need to change the parameters in "showmap" which you have called "showmap.cgi" to reflect this change: parameters = common.Parameters(cgi.FieldStorage(), showmap = "showmap.cgi", genmap="genmap.cgi", map = map, marker = marker) Let me know if this helped. Regards, Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/mapit/attachments/20050811/2bba1b1e/attachment.bin From bernhard at intevation.de Thu Aug 11 18:24:37 2005 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 11 Aug 2005 18:24:37 +0200 Subject: [Mapit] No pictures showing up In-Reply-To: <20050811162233.GJ29291@intevation.de> References: <48998.69.15.32.206.1122854905.squirrel@webmail.radservices.com> <20050811162233.GJ29291@intevation.de> Message-ID: <20050811162437.GK29291@intevation.de> Am 11. Aug 2005 um 18:22:33 schrieb Bernhard Reiter: > On Sun, Jul 31, 2005 at 08:08:25PM -0400, rusty at radservices.com wrote: > > my host requires a .cgi or.fcgi extension for all cgi files. I have > > renamed showmap and genmap to their approriate CGI and changed the lines > > in the files where showmap = showmap.cgi and genmap=genmap.cgi. Note: if you use simple .cgi, MapIt! will be very slow. If you can use .fcgi with your webserver why not use the fcgi frontend directly? Best, Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/mapit/attachments/20050811/11110e14/attachment.bin