[Mapserver-users] No Map Appear via ODBC

Zak James zak-ms at hoppsan.org
Wed Jun 2 07:50:38 PDT 2004


What is the nature of the data in your MSQL table? I think you may need 
to use ogr's virtual driver. See 
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData

zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
On Jun 4, 2004, at 4:38 AM, Kalpin Erlangga Silaen wrote:

> Dear all,
>
> I created LAYER like this :
>
> LAYER
>   NAME indo_wells
>   TYPE POINT
>   CONNECTIONTYPE OGR
>   CONNECTION "ODBC:sa/kalpin at MSQL"
>   DATA "SELECT * FROM TbWell"
>   STATUS ON
>   CLASS
>     NAME 'WELLS'
>     MAXSCALE 2000000
>     SYMBOL 'circle'
>     OUTLINECOLOR 128 128 128
>     SIZE 10
>     TEMPLATE "indo_wells.html"
>   END
>   HEADER "indo_wells_header.html"
>   FOOTER "indo_wells_footer.html"
>   TOLERANCE 5
>   METADATA
>     WMS_TITLE "Wells"
>     WMS_ABSTRACT "Wells data for Indonesia region."
>     WMS_SRS "EPSG:26915"
>   END
> END
>
> But, No map appear at my browser. I think I make mistake with SQL 
> command ? It's seem unsuccessfull query the data.
>
> I have table TbWell at my MSSQL.
>
>
> Anyone can help me please.
>
>
>
> Best regards,
>
>
>
> Kalpin Erlangga Silaen




More information about the MapServer-users mailing list