[mapserver-users] map file with connection to postgis

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Wed Jan 7 08:40:05 PST 2015


If you get an image then at least no error is being generated. Are you sure the layer you’re trying to view is on? There’s a switch in shp2img to turn on a layer or you can set STATUS DEFAULT in the layer definition.

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of geo.graefin at web.de
Sent: Wednesday, January 07, 2015 10:27 AM
To: jt at mapmedia.de; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] map file with connection to postgis

Hello Jörg,

I get an empty picture when I create a png with the tool shp2img.

Thanks for helping!

Gesendet: Mittwoch, 07. Januar 2015 um 16:44 Uhr
Von: "Jörg Thomsen" <jt at mapmedia.de<mailto:jt at mapmedia.de>>
An: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Betreff: Re: [mapserver-users] map file with connection to postgis
Hi,

Am 07.01.2015 um 16:33 schrieb geo.graefin at web.de<mailto:geo.graefin at web.de>:
> When I leave out "schema=public" in the string of "DATA" in my map file
> then i get the following message:
>
> ëPNG
>> IHDR ♥Þ ♥Þ☺♥ wmFº ♥PLTE ºz=┌ ☺tRNS @µÏf æIDATx£Ý┴1☺ ┬á§Om
>> ¥♠ý? ☺°1ù! IEND«B`é

looks like this is a png-image. Have you tried to open this file with an
image-viewer?

Jörg
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150107/a5367287/attachment.html>


More information about the mapserver-users mailing list