Re: [pmapper-users] Mapscript connection to ArcSDE!
Brought to you by:
arminburger
From: Armin B. <arm...@gm...> - 2006-11-30 21:53:53
|
You should try it with the latest ms4w version from maptools.org (you will need to change all your MS and PHP related libraries to be sure it works, so MS 4.10 and PHP 5.2). Seems like they have support for SDE => http://maptools.org/ms4w/index.phtml?page=README_INSTALL.html#sde-9-1 armin Eric Allard wrote: > Hi! All! > > After trying the following SDE layer connection, I get the following error: > > Warning: [MapServer Error]: msSDELayerOpen(): SDE support is not available. > in > C:\p4_eric\projects\relocengine\projects\Akyem\main\carto\pmapper2\incphp\in > itgroups.php on line 229 > > My setup: > -Windows XP > -MSSQL 2000 > -ArcSDE 9.1 (As a service) > -Apache 2.0.X > -PHP 5.0.5 > -Pmapper 1.9.5 > -php_mapscript_46.dll (Loaded at PHP start) > > My Mapfile connection: > CONNECTION "localhost,port:5151,sde,sa,''," > CONNECTIONTYPE SDE > DATA "SDE.DBO.ERIC,LAYER,SDE.DEFAULT" > > Question: > 1. How do I link the phpmapscrip.dll to use sde91.dll (Or other needed srv)? > > > Link to the phpmapscrip46 used: > - Binary Packages - Win32 > - mapserver-4.6.1-win32-php5.0.5.zip ~16 MB > http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html > > Thanks! > -Eric > |