[Chameleon] Problems displaying

Stephan Holl sholl at gmx.net
Fri Apr 15 08:27:50 EDT 2005


Hello Paul, 

On Fri, 15 Apr 2005 08:04:43 -0400 Paul Spencer
<pspencer at dmsolutions.ca> wrote:


Thanks for your fast reply.

> 
> I suspect that you have a projection problem.  The chameleon sample 
> applications (or some of them at least) use a custom epsg code.  Try 
> replacing your existing epsg file with the following:
> 
> http://www.maptools.org/dl/proj4-epsg-with-42xxx.zip

I did that already :-) Thanks foir the hint...

> 
> The other thing you can try is to get the URL of the broken image and 
> paste it into your browser.  The map image is produced from a php
> script and often the cause of the problem is actually visible if the
> image is loaded directly rather than as part of an <img> tag.
> 

OK, thanks for that.


> You can sometimes get the correct URL by right clicking on the map 
> image.  If not, in mozilla-based browsers, you can open a 'Page Info' 
> (ctrl-i or Tools->Page Info in firefox) and check the media tab.  You 
> are looking for an image that has a src that points to drawmap.php - 
> there might be two or three of these, they represent the keymap and 
> scalebar in addition to the map.  You may have to try each of them to 
> find the map url

On my mapserver-installation php_mapscript is only associated to
*.phtml-files, because it runs as a cgi-version. 
So drawmap.php throughs out an error that no php_mapscript.so is
available...

I am affraid I have to find the call to drawmap.php and change it to
drawmap.phtml to get it recognized as php_mapscript-enabled file...

Are there easier sollutions to solve this?!

Thanks for your hint.

	Stephan
-- 
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/chameleon/attachments/20050415/e0780da0/attachment.bin


More information about the Chameleon mailing list