Re: [mapserver-users] SDE Connection

2012-09-11 Thread Mike Saunt
I'm not aware of them being publicly available.   They should be in the
esri media pack that comes with arcsde
On Sep 11, 2012 9:23 AM, Michele De Santis tap...@virgilio.it wrote:

 Dear list,

 I want to connect Mapserver 6.0.3 to SDE 9.2. MapServer is on a Linux
 Centos Machine while SDE is on Windows Machine. I have just read that I
 must have the SDE client librairies at my disposition, and have them
 installed on the machine running MapServer.

 Are this client librairies available for public download?

 Thanks to all

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] SDE Connection

2012-09-11 Thread Fawcett, David (MPCA)
With earlier versions like 9.2, ESRI put the SDK install files out on their Web 
site.  With some of the later versions, you need to have the install CDs.

You didn't say what service pack version you are running with 9.2, but here is 
a page with the SDK for 9.2 sp2:  
http://support.esri.com/en/downloads/patches-servicepacks/view/productid/66/metaid/1269
  If you are on a different version, Google found this page in about 5 seconds.

You may also have an issue with supported platforms, they usually have a page 
listing supported Linux disros and versions.  In the past, they have listed Red 
Hat, but not CentOS.  That doesn't mean that it won't work, I just don't know.

If this doesn't work, or doesn't perform well, you might want to think about a 
simple ESRI Python script that pulls the data out of the production SDE 
database and push it into a PostGIS database or even shapefiles for use by 
MapServer.  You could script it to run on some set time period.

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mike Saunt
Sent: Tuesday, September 11, 2012 3:25 AM
To: Michele De Santis
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] SDE Connection


I'm not aware of them being publicly available.   They should be in the esri 
media pack that comes with arcsde
On Sep 11, 2012 9:23 AM, Michele De Santis 
tap...@virgilio.itmailto:tap...@virgilio.it wrote:
Dear list,

I want to connect Mapserver 6.0.3 to SDE 9.2. MapServer is on a Linux Centos 
Machine while SDE is on Windows Machine. I have just read that I must have the 
SDE client librairies at my disposition, and have them installed on the machine 
running MapServer.

Are this client librairies available for public download?

Thanks to all

___
mapserver-users mailing list
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] SDE connection with MS4W

2012-08-21 Thread Michele De Santis
Hello,



I'm trying to connect Mapserver with SDE in MS4W. I followed the 
README-sde.txt to Enable SDE 9.1, 9.2, 9.3 Support in MS4W's MapServer.





This is my Layer:



LAYER

NAME PSITDATA.COMUNI

TYPE POLYGON

CONNECTIONTYPE PLUGIN

CONNECTION host,port:1521,DBNAME,UN,PW

PLUGIN C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll

DATA PSITDATA.COMUNI,SHAPE,sde.DEFAULT

CLASS

STYLE

OUTLINECOLOR 0 0 0

COLOR 0 128 128

END

END

METADATA

  wms_titlePSITDATA.COMUNI

  #wms_srs EPSG:26591

  wms_srs  EPSG:32633  

  wms_namePSITDATA.COMUNI

  wms_server_version  1.1.1

  wms_format  image/png

  wms_enable_request *   ##necessary

END

PROJECTION 

  init=epsg:32633

END

END





but in the MapServer errors log I can see the following lines:



msGetSymbol(): General error message. Can't load requested dynamic library: 
C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll

loadCustomLayerDLL: General error message. Failed to load dynamic Layer LIB: 
C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll



Can anyone help me please!





Thanks in advance.



Michele ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] SDE connection problem from Solaris Mapserver

2009-03-17 Thread mapgeek

Environment: Mapserver 5.2.1 // Solaris 9 // Apache 2.2.8 // SDE 9.2

I am trying to serve SDE data via WFS requests. It works great on a
development machine running MS4W, but now we're trying to get it working on
our Solaris web server, and the SDE connection is not working there. 

To move my map file from Windows to Solaris: 
1) Changed paths in CONFIG PROJ_LIB  and CONFIG MS_ERRORFILE
2) Replaced 2 lines of connection info for Windows (CONNECTIONTYPE PLUGIN
and PLUGIN c:/path/msplugin_sde_92.dll) with one line CONNECTIONTYPE
SDE. 

In the SDE logs, requests from MS4W show the sort of select statement that I
would expect. The Solaris Mapserver requests do add to the SDE logs, but I
don't see anything that looks like a select statement. The error returned
is: 
SE_layer_get_info(): Layer not found. (-20)

Question: Am I doing something wrong in my connection info? Perhaps
something to do with our install? 

Additional files: 
testhazunix.map: map file
mapserver_solaris_errors.txt: Mapserver error log and WFS ServiceException
mapserver_sde_logs.txt: SDE logs showing a successful request from MS4W and
failed Mapserver/Solaris 

thanks!


http://n2.nabble.com/file/n2494645/testhazunix.map testhazunix.map 
http://n2.nabble.com/file/n2494645/mapserver_solaris_errors.txt
mapserver_solaris_errors.txt 
http://n2.nabble.com/file/n2494645/mapserver_sde_logs.txt
mapserver_sde_logs.txt 

-- 
View this message in context: 
http://n2.nabble.com/SDE-connection-problem-from-Solaris-Mapserver-tp2494645p2494645.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users