[Mapit] No pictures showing up
Bernhard Reiter
bernhard at intevation.de
Thu Aug 11 18:22:33 CEST 2005
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
More information about the Mapit
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)