[mapserver-users] RE: making POINT with SQL
Jan Hartmann
j.l.h.hartmann at uva.nl
Fri Apr 8 01:39:53 PDT 2011
Didn't I hear this advice before on this list :-)
Jan
On 7-4-2011 21:49, Lime, Steve D (DNR) wrote:
>
> Make sure you're actually turning the layer on. Status ON always makes
> me wonder. Try setting STATUS to DEFAULT and comment out the maxscale
> line and see what happens.
>
> Steve
>
> *From:*mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of *Juan
> Carlos Monestel
> *Sent:* Thursday, April 07, 2011 1:21 PM
> *To:* mapserver-users at lists.osgeo.org
> *Subject:* [mapserver-users] RE: making POINT with SQL
>
> Hi
> it is not drawing and no error occurs
>
>
>
>
> -----Original Message-----
> From: Lime, Steve D (DNR) [mailto:steve.lime at state.mn.us]
> Sent: Thu 4/7/2011 2:43 PM
> To: Juan Carlos Monestel; mapserver-users at lists.osgeo.org
> Subject: RE: making POINT with SQL
>
> What does "not working" mean? Steve
>
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Juan
> Carlos Monestel
> Sent: Thursday, April 07, 2011 12:04 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] making POINT with SQL
>
>
> Hello
> I'm trying to make an POINT in the map but it's not working
>
> this is my Layer
> layer
> name "ponto"
> connectiontype POSTGIS
> connection "dbname=xxxx user=xxxxx host=xxxxx port=xxxxx"
> data "geo_info from table"
> type point
> status on
> metadata
> tile_source "nocache"
> end
> maxscale 3000001
> class
> style
> size 4
> symbol "circulo"
> color 0 0 0
> end
> style
> size 1
> symbol "circulo"
> color 255 255 255
> end
> end
> end
>
>
> The SQL brings me an geo info
> ("0101000020E610000079E9263108DC42C08716D9CEF75338C0") that in text is
> = "POINT(-37.719 -24.328)"
>
>
> Any Ideas ?
>
>
> _______________________________________________
> mapserver-users mailing list
> 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/20110408/6fcbe7bc/attachment.htm>
More information about the MapServer-users
mailing list