[mapserver-users] Reg:- Connecting Mapserver with Oracle Spatial using asp.net
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Jul 23 05:19:40 PDT 2010
Hello,
You are trying to connect directly from MapServer to OracleSpatial, so
you must compile MapServer with OracleSpatial support; to verify that
you have done this correctly, at the commandline execute "mapserv -v"
and look for "INPUT=ORACLESPATIAL" in the response.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
venkat wrote:
> Dear All,
>
> I would like to connect Mapserver with Oracle 10g Spatial .,when i
> try to connect using Oracle spatial I am getting error "Oracle Spatial
> is not supported".
>
>
> Please let me know...Where I am doing wrong.I am waiting for your great
> response.
>
>
>
> Here is my mapfile code.
>
> LAYER
> NAME "India National Highways"
> TYPE Line
>
> CONNECTIONTYPE oraclespatial
> CONNECTION "GIS/gis123"
> DATA "the_geom FROM INDIANATIONALHIGHWAYS USING SRID 24047"
> # LABELITEM "nh_no_"
> Status OFF
> DUMP TRUE
>
> CLASS
> NAME 'NATIONAL HIGHWAYS'
>
> STYLE
> COLOR 249 139 42
> End
>
>
> End # end of the class
> END # end of the Layer
>
>
> Thanks and Regards,
>
> Venkat
>
More information about the MapServer-users
mailing list