[mapserver-users] Linux/SDE 8.1 libs/layer connects

Havard Tveite havard.tveite at ikf.nlh.no
Wed Jun 13 02:28:26 EDT 2001


The DATA entry in the LAYER definition should include both the
layer name and the geometry column.
DATA "sites,geometry"     if your geometry column is named "geometry"

"Ballard,Lowell" wrote:
> 
> I've put esri_sde in my /etc/services file.  The ESRI SDE Instance is called
> ersri_sde on the remote server (matoaka which is in my /etc/hosts file
> (using ip address failed)).  The user with access to data is called data.
> The database which holds the spatial data on Oracle is called gisdb.  My
> client libs used to build ms are SDE 8.1 but my server is 8.0.2.  This might
> be the problem but I want to rule anything else out first.  I haven't had
> the time to update the server as we just got it and we have lots of data in
> it.  It's going to take me a few weeks to get there so...
> 
> I couldn't really find any SDE docs/samples so just point them out if they
> exist on the web.
> Thanks--
> ------------------------------
> This is the error I get:
> 
> msSDELayerOpen(): SDE error. Not enough SDE layer parameters specified
> ----------------------------
> This is the layer:
> 
> LAYER
>   NAME sde_sites
>   TYPE POLYGON
>   CONNECTION "matoaka,esri_sde,gisdb,data,password"
>   CONNECTIONTYPE sde
>   DATA sites (the name of my SDE Layer in Oracle/SDE)
>   STATUS ON
[...]

-- 
Håvard Tveite                      Phone:  +47 64948857
Department of Mapping Sciences     Fax:    +47 64948856
Agricultural University of Norway
POBox 5034, N-1432 Ås, NORWAY    http://www.nlh.no/ikf/



More information about the mapserver-users mailing list