Re: [mapserver-users] invalid location of WFS-transaaction.xsd
thanks, I overlooked that Jachym 2014-08-03 13:29 GMT+02:00 Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi: Hi, I would read http://mapserver.org/tinyows/configfile.html and then try to edit the tinyows.xml file from tinyows online_resource=http://127.0.0.1/cgi-bin/tinyows; schema_dir=/usr/local/tinyows/schema/ -Jukka Rahkonen- Jachym Cepicky wrote: Hi, having a look into apache/log/error.log, I see strange warning AH01215: I/O warning : failed to load external entity /usr/local/tinyows/schema/wfs/1.0.0/WFS-transaction.xsd And yes: the file is located in /usr/share/tinyows/schema/wfs/1.0.0/WFS-transaction.xsd What can I do about it? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] creating new feature via tinyows and WFS-T
Hi, I would like to create new feature (using OpenLayers 2, WFS-T) client, but tinyows is refusing: The request can be seen at http://pastebin.com/eaXSjfgd The response is ows:Exception exceptionCode='MissingParameterValue' locator='request' ows:ExceptionTextQUERY_STRING contains forbidden characters/ows:ExceptionText /ows:Exception Any hint, what could possible go wrong? Maybe missing attributes? I'm dealing just with geometry, but still ... Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] creating new feature via tinyows and WFS-T
Just noting, modifying existing features works (attributes remain untouched) Jachym 2014-08-03 15:24 GMT+02:00 Jachym Cepicky jachym.cepi...@gmail.com: Hi, I would like to create new feature (using OpenLayers 2, WFS-T) client, but tinyows is refusing: The request can be seen at http://pastebin.com/eaXSjfgd The response is ows:Exception exceptionCode='MissingParameterValue' locator='request' ows:ExceptionTextQUERY_STRING contains forbidden characters/ows:ExceptionText /ows:Exception Any hint, what could possible go wrong? Maybe missing attributes? I'm dealing just with geometry, but still ... Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] creating new feature via tinyows and WFS-T
IMHO, it's ok (at first sight): feature: is namespace (refering to http://tinyows.org/), the first element is refering to layer name (stavebniobjekty), the second one to attribute which holds the geometry (aka originalnihranice) j 2014-08-03 16:37 GMT+02:00 Rahkonen Jukka (Tike) jukka.rahko...@mmmtike.fi: I wonder if it is OK to have two feature elements nested in Insert. -Jukka Rahkonen- Lähettäjä: Jachym Cepicky Lähetetty: 3.8.2014 16:24 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] creating new feature via tinyows and WFS-T Hi, I would like to create new feature (using OpenLayers 2, WFS-T) client, but tinyows is refusing: The request can be seen at http://pastebin.com/eaXSjfgd The response is ows:Exception exceptionCode='MissingParameterValue' locator='request' ows:ExceptionTextQUERY_STRING contains forbidden characters/ows:ExceptionText /ows:Exception Any hint, what could possible go wrong? Maybe missing attributes? I'm dealing just with geometry, but still ... Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] invalid location of WFS-transaaction.xsd
Hi, having a look into apache/log/error.log, I see strange warning AH01215: I/O warning : failed to load external entity /usr/local/tinyows/schema/wfs/1.0.0/WFS-transaction.xsd And yes: the file is located in /usr/share/tinyows/schema/wfs/1.0.0/WFS-transaction.xsd What can I do about it? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp Give your code freedom with PyWPS - http://pywps.wald.intevation.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] bug in mapscript colorObj ?
Daniel, problem is, that the COLOR object is *not* written to mapfile, when one of the RGB components is set to -1 It can be seen in the script, I send in my previous e-mail and, I created ticket to this http://trac.osgeo.org/mapserver/ticket/4042 Thanks Jachym On 1.10.2011 16:45, Daniel Morissette wrote: On 11-09-30 07:12 AM, Jachym Cepicky wrote: Hi, I try to set transparent color to REFERENCE map, so that the box is outlined-only. According to documentation, i use -1 for indication, that the color should be transparent color = mapscript.colorObj(-1,-1,-1) How do you set/assign the color value to the reference map object? What if you set another color than -1,-1,-1, does it get through? The following works fine for me in PHP MapScript. Perhaps make a similar test with the version of MapScript you are using (Python?), and then look at the output of /tmp/test.map to comfirm that the color is set as expected. ?php $map = ms_newMapObj(/path/to/my.map); $map-reference-color-setRGB(-1,-1,-1); $map-save(/tmp/test.map); ? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] bug in mapscript colorObj ?
Daniel, I have prepared another set of scripts and input data (attached) And it seems to me, that it works in this basic environment. I'll do another check, to find out, why it does not work in the more complex script. Thanks Daniel for your time Jachym On 1.10.2011 16:45, Daniel Morissette wrote: On 11-09-30 07:12 AM, Jachym Cepicky wrote: Hi, I try to set transparent color to REFERENCE map, so that the box is outlined-only. According to documentation, i use -1 for indication, that the color should be transparent color = mapscript.colorObj(-1,-1,-1) How do you set/assign the color value to the reference map object? What if you set another color than -1,-1,-1, does it get through? The following works fine for me in PHP MapScript. Perhaps make a similar test with the version of MapScript you are using (Python?), and then look at the output of /tmp/test.map to comfirm that the color is set as expected. ?php $map = ms_newMapObj(/path/to/my.map); $map-reference-color-setRGB(-1,-1,-1); $map-save(/tmp/test.map); ? reference.tgz Description: application/compressed-tar ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] bug in mapscript colorObj ?
Hi, I try to set transparent color to REFERENCE map, so that the box is outlined-only. According to documentation, i use -1 for indication, that the color should be transparent color = mapscript.colorObj(-1,-1,-1) but this seems to be understood as invalid color, according to #define MS_VALID_COLOR(color) (((color).red==-1 || (color).green==-1 || (color).blue==-1)?MS_FALSE:MS_TRUE) and the box is filled with red color (default value) When I use -255 for the colors triplet, it is converted to positive integer (and so the box is black). When I tried to set alpha directly color.alpha = 0 It did not help Any hint what to do? Is that a bug in mapserver/mapscript ? Jachym P.S. Sorry for cross posting, not sure, where to find the right answer. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] wms 1.3, getfeaturelisturl, getdataurl
Hi, in WMS 1.3.0, there are following elements for each layer: FeatureListURL A server may use a FeatureListURL element to point to a list of the features represented in a Layer. FeatureListURL is not inherited by child layers. The enclosed Format element indicates the file format MIME type of the feature list. DataURL A server may use DataURL to offer a link to the underlying data represented by a particular layer. The enclosed Format element indicates the file format MIME type of the data file. Is there support for getfeaturelisturl and getdataurl elements in MapServer 6x, on the server-side? I could not find anything in the documentation. Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver 5.6.6 and Python mapscript
Any reason not to use ubuntugis repository? https://wiki.ubuntu.com/UbuntuGIS j 2011/6/30 ChiefDan chief...@gmail.com: I am trying to get the python mapscript up and running on an Ubuntu box from a mapserver tar file. I've gone through the README and followed the steps, although I am not sure what appropriate changes I need to make in the test.map file. I am running into 2 issues when running the tests: test saving query to a file ... ERROR set image of new symbolObj ... Segmentation fault I successfully compiled mapserver using the following config settings: --enable-runpath --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config --with-proj=/usr/local --with-php=/usr/include/php5 --with-gd=/usr/local --with-freetype=/usr/local --with-png=/usr/local --with-jpeg=/usr/local --with-libiconv=/usr/local --with-wmsclient --with-postgis=/usr/lib/postgresql/8.3/bin/pg_config Any pointers would be appreciated. Dan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-5-6-6-and-Python-mapscript-tp6534460p6534460.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 -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] using gdal subdataset as datasource
Hi, I use gdal 1.9.0 (trunk), mapserver 6.0.0, ubuntu 11.04 I need to access several gdal subdatasets within gdal dataset as different tileindexes (need to build time-support on top of this). Situation: 1) I have GDAL WCS data source file, with temporal information in it 2) I created shapefile with 2 attributes: location AND time. location cotains the subdataset definition, which can be read by gdal ogrinfo on /tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs.tindex/20101014T03_pph.wcs.tindex.shp (which is the generated time index file): ... OGRFeature(20101014T03_pph.wcs.tindex):18 location (String) = WCS_SDS:time=2010-10-14T21:00:00.000Z,/tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs time (String) = 2010-10-14T21:00:00.000Z POLYGON ((409900 -11700,12900 -11700,12900 0,409900 0,409900 -11700)) ... gdalinfo on tindex location: gdalinfo 'WCS_SDS:time=2010-10-14T21:00:00.000Z,/tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs' Driver: WCS/OGC Web Coverage Service Files: none associated Size is 645, 585 Coordinate System is: PROJCS[GGRS87 / Greek Grid, GEOGCS[GGRS87, DATUM[Greek_Geodetic_Reference_System_1987, SPHEROID[GRS 1980,6378137,298.257222101, AUTHORITY[EPSG,7019]], TOWGS84[-199.87,74.79,246.62,0,0,0,0], AUTHORITY[EPSG,6121]], PRIMEM[Greenwich,0, AUTHORITY[EPSG,8901]], UNIT[degree,0.0174532925199433, AUTHORITY[EPSG,9122]], AUTHORITY[EPSG,4121]], UNIT[metre,1, AUTHORITY[EPSG,9001]], PROJECTION[Transverse_Mercator], PARAMETER[latitude_of_origin,0], PARAMETER[central_meridian,24], PARAMETER[scale_factor,0.9996], PARAMETER[false_easting,50], PARAMETER[false_northing,0], AUTHORITY[EPSG,2100], AXIS[Easting,EAST], AXIS[Northing,NORTH]] Origin = (409900.000,4503200.000) Pixel Size = (20.000,-20.000) Metadata: TIME_POSITION=2010-10-14T21:00:00.000Z Corner Coordinates: Upper Left ( 409900.000, 4503200.000) ( 22d56' 2.07E, 40d40'29.14N) Lower Left ( 409900.000, 4491500.000) ( 22d56' 8.10E, 40d34' 9.76N) Upper Right ( 422800.000, 4503200.000) ( 23d 5'11.49E, 40d40'33.86N) Lower Right ( 422800.000, 4491500.000) ( 23d 5'16.66E, 40d34'14.45N) Center ( 416350.000, 4497350.000) ( 23d 0'39.58E, 40d37'21.89N) Band 1 Block=645x585 Type=Float64, ColorInterp=Undefined - works perfectly BUT when I run GetMap request (WMS) on that layer, I got mapscript.MapServerError: msDrawMap(): Image handling error. Failed to draw layer named '20101014T03_pph'. msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs.tindex/WCS_SDS:time=2010-10-14T03:00:00.000Z,/tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs' for layer '20101014T03_pph'. , referer: http://briseide.localhost/map/index2.php WMS Mapfile layer definition looks like LAYER METADATA wms_timeitemtime wms_timeextent 2010-10-14T03:00:00.000Z,2010-10-14T04:00:00.000Z,2010-10-14T05:00:00.000Z,2010-10-14T06:00:00.000Z,2010-10-14T07:00:00.000Z,2010-10-14T08:00:00.000Z,2010-10-14T09:00:00.000Z,2010-10-14T10:00:00.000Z,2010-10-14T11:00:00.000Z,2010-10-14T12:00:00.000Z,2010-10-14T13:00:00.000Z,2010-10-14T14:00:00.000Z,2010-10-14T15:00:00.000Z,2010-10-14T16:00:00.000Z,2010-10-14T17:00:00.000Z,2010-10-14T18:00:00.000Z,2010-10-14T19:00:00.000Z,2010-10-14T20:00:00.000Z,2010-10-14T21:00:00.000Z wms_title 20101014T03_pph END # METADATA NAME 20101014T03_pph PROJECTION proj=tmerc lat_0=0 lon_0=24 k=0.9996 x_0=50 y_0=0 datum=GGRS87 units=m no_defs END # PROJECTION STATUS OFF TEMPLATE foo TILEINDEX /tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs.tindex/20101014T03_pph.wcs.tindex.shp TILEITEM location TYPE RASTER UNITS METERS CLASS STYLE ANGLE 0 OFFSET 0 0 END # STYLE END # CLASS END # LAYER The part /tmp/WCS-a7145b1a3d54e8df55f019a136f55f84iYEWBn/20101014T03_pph.wcs.tindex/ of the requested file name should *NOT* be there. Questions: 1) What did I wrong with the configuration? 2) Is there other way, how to access temporal-enabled time data, available as GDAL subdataset? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] wfs 1.1.0 via mapserver and ogr
Hi, Hi, I try to load some data to MapServer (and display them as WMS) from WFS 1.1.0 server (also MapServer-based). From various reasons, I defined the WFS layer as OGR layer type, with connection set to WFS definition file: LAYER CONNECTION wfs.wfs CONNECTIONTYPE OGR DATA line #EXTENT 12.735342 48.152419 17.141855 51.38089 METADATA ows_abstractMy abstract wfs_typenameline wfs_version 1.1.0 wms_title Line END # METADATA NAME line PROJECTION +init=epsg:4326 END # PROJECTION STATUS ON TEMPLATE foo TILEITEM location TYPE LINE UNITS METERS CLASS STYLE ANGLE 0 COLOR 238 153 0 OFFSET 0 0 OUTLINECOLOR 134 81 0 SIZE 5 WIDTH 5 END # STYLE END # CLASS END # LAYER (wfs.wfs should be attached to this e-mail). When I try to display the data (using shp2img or standard WMS request), nothing is displayed, because of MapServer-OGR asks the WFS server with following request: http://localhost/cgi-bin/ows?SERVICE=WFSVERSION=1.1.0REQUEST=GetFeatureTYPENAME=lineFILTER=Filter xmlns:gml=http://www.opengis.net/gml;BBOXPropertyNamemsGeometry/PropertyNamegml:Boxgml:coordinates48.7275012197312094,12.9295317871890720 51.1769623652315175,18.1965700336475784/gml:coordinates/gml:Box/BBOX/Filter This is WRONG because of the axes are inverted, the filter *should* look like 12.9295317871890720,48.7275012197312094 18.1965700336475784,51.1769623652315175 Then it works. My question is, where can/should I influence this behaviour? I tried several options in PROJECTION section of the MapFile (+axis=neu, ...) but nothing made the OGR driver to change the axes order. So it seems, that MapServer is creating the WFS 1.0.0 style filters with Easting-Northing also when the connection is defined as WFS 1.1.0 and gml Box is used in the filter, but Box does not exist in GML3 and Envelope should be used instead. (according to http://lists.osgeo.org/pipermail/gdal-dev/2011-June/029029.html) With WFS 1.0.0 it works perfectly (axes are in EAST-NORTH order). What to do, so that mapserver reades WFS 1.1.0 via OGR properly? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp wfs.wfs Description: Binary data ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapscript owsdispatch does not work, cgi mapserver does
Hi, I have strange problem, I need to use mapobject.OWSDispatch with WMS GetMap request, and I do expect image at the output. I have prepared small python wrapper script, which should load the mapfile, perform owsdispatch and return the result. It does not work (saying something about missing xerces support, which is not true, see below). When I use *exactly the same* mapfile, but with simple shell wrapper (so no mapscript), it works perfectly. Examples: (1) Shell script wrapper: #!/bin/sh export MS_MAPFILE=/tmp/wfs02.map /usr/lib/cgi-bin/mapserv http://localhost/cgi-bin/owsviewer2.sh?LAYERS=krajeTRANSPARENT=TRUEFORMAT=image%2FpngEXCEPTIONS=XMLVERSION=1.3.0STYLES=defaultCRS=EPSG%3A4326SERVICE=WMSREQUEST=GetMapBBOX=49,12,51,18WIDTH=1000HEIGHT=634 - Image is returned (2) Python script: #!/usr/bin/python import mapscript mapobj = mapscript.mapObj(/tmp/wfs02.map) request = mapscript.OWSRequest() request.loadParams() print mapobj.OWSDispatch(request) http://localhost/cgi-bin/owsviewer2.py?LAYERS=krajeTRANSPARENT=TRUEFORMAT=image%2FpngEXCEPTIONS=XMLVERSION=1.3.0STYLES=defaultCRS=EPSG%3A4326SERVICE=WMSREQUEST=GetMapBBOX=49,12,51,18WIDTH=1000HEIGHT=634 - ?xml version='1.0' encoding=ISO-8859-1 standalone=no ? ServiceExceptionReport version=1.3.0 xmlns=http://www.opengis.net/ogc; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd; ServiceException msDrawMap(): Image handling error. Failed to draw layer named #39;kraje#39;. msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `kraje#39;. File /tmp/mapserv/4dd50e3f_54c_0..tmp.gml appears to be GML but the GML reader can#39;t be instantiated, likely because Xerces support wasn#39;t configured in. /ServiceException /ServiceExceptionReport What am I doing wrong? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp wfs02.map Description: Binary data owsviewer2.sh Description: Bourne shell script #!/usr/bin/python import mapscript mapobj = mapscript.mapObj(/tmp/wfs02.map) request = mapscript.OWSRequest() request.loadParams() print mapobj.OWSDispatch(request) ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] gridObj in python mapscript
Hi, is it possible to create GRID object within python mapscript? MapServer 5.6.6 Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4
Hi, no idea :-( there are documentation_sdk hpia_64 ibm install_sdk.htm solaris windows hp hp_64ibm_64 linuxsolaris_64 directories on the CD (so nothing like linux_64 or windows_64) the system is Linux mapgis 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux removing the duble slash did not help :/ how could I found out, which architecture are the given libs for? thanks jachym 2010/4/14 Lime, Steve D (DNR) steve.l...@state.mn.us: Perhaps the double / is problematic? Try: --with-sde=/opt/arcsde/sdeexe93 Also, does the library architecture match your system? Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jachym Cepicky [jachym.cepi...@gmail.com] Sent: Wednesday, April 14, 2010 3:55 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4 Hi, I have the SDK, I installed it using install -load script when I try to compile mapserver 5.4.2, configure works, ./configure [...] --with-sde=/opt/arcsde/sdeexe93/ \ --with-sde-version=93 \ [...] but whild compilating, I get [...] usr/lib64 -lagg -laggfontfreetype -ltiff -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -lproj -ljpeg -lpng -L/opt/arcsde/sdeexe93//lib -lsde -lpe -lsg -lpthread -ldl -lgdal -L/usr/lib64 -lpq -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -lmysqlclient -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -L/usr/lib64 -lgeos_c -lpthread -lc -lz -lxml2 -lz -lm -lfribidi -lm -lstdc++ -o shp2img /usr/bin/ld: skipping incompatible /opt/arcsde/sdeexe93//lib/libsde.so when searching for -lsde /usr/bin/ld: skipping incompatible /opt/arcsde/sdeexe93//lib/libsde.a when searching for -lsde /usr/bin/ld: cannot find -lsde collect2: ld returned 1 exit status any hint? thanks jachym Dne 12. dubna 2010 8:00 Jachym Cepicky jachym.cepi...@gmail.com napsal(a): Hi, slowly, I'm approaching. Our customer had to write to out local service provider of ESRI and they had to write to ESRI and request for the header files (I can not find the page, where it was written, but the header files should just arrive from U.S. here). So, now I should be able to compile Thanks Jachym Lime, Steve D (DNR) píše v St 07. 04. 2010 v 16:40 -0500: Don't know if success was had or not. The standard 9.3 disks I had access to did not have the headers available. Must need some super secret handshake to get them. Anyway, I just copied the 9.2 headers into the same spot in the 9.3 directories and it works just fine. Don't know that I'd recommend that approach in lieu of learning the super secret handshake but it worked here in a pinch... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Huey Brantley Sent: Thursday, March 18, 2010 10:44 PM To: Jachym Cepicky Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4 Compile it against the SDE SDK, not where you have SDE installed. My configure: ./configure \ --with-php=/usr/local \ --with-proj=/usr/local \ --with-gd=/usr/local \ --with-jpeg=/usr/local \ --with-png=/usr/local \ --with-sde=/u01/arcgis93sdk/sdeexe93/ \ --with-sde-version=93 \ --with-wfs \ --with-ogr=/usr/local/bin/gdal-config \ --with-gdal=/usr/local/bin/gdal-config \ --with-freetype \ --with-tiff \ --with-agg \ --with-curl \ --enable-debug Jachym Cepicky wrote: Hi, I'm not able to get arcsde 9.3.0 compiled with mapserver (5.4), on Linux I use ./configure --with-sde=/opt/arcsde/9.3.0/sdeexe93/ --with-sde-version='' the arcsde installation directory containes (among others) file ... libsde.so .. nut not *.a file or *.h files however, I get configure: error: Could not find sdetype.h or libsde.a/libsde.so in /opt/arcsde/9.3.0/sdeexe93/. Any hint? Thanks Jachym ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp
RE: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4
Hi, slowly, I'm approaching. Our customer had to write to out local service provider of ESRI and they had to write to ESRI and request for the header files (I can not find the page, where it was written, but the header files should just arrive from U.S. here). So, now I should be able to compile Thanks Jachym Lime, Steve D (DNR) píše v St 07. 04. 2010 v 16:40 -0500: Don't know if success was had or not. The standard 9.3 disks I had access to did not have the headers available. Must need some super secret handshake to get them. Anyway, I just copied the 9.2 headers into the same spot in the 9.3 directories and it works just fine. Don't know that I'd recommend that approach in lieu of learning the super secret handshake but it worked here in a pinch... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Huey Brantley Sent: Thursday, March 18, 2010 10:44 PM To: Jachym Cepicky Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] can not compile arcsde 9.3 with mapserver 5.4 Compile it against the SDE SDK, not where you have SDE installed. My configure: ./configure \ --with-php=/usr/local \ --with-proj=/usr/local \ --with-gd=/usr/local \ --with-jpeg=/usr/local \ --with-png=/usr/local \ --with-sde=/u01/arcgis93sdk/sdeexe93/ \ --with-sde-version=93 \ --with-wfs \ --with-ogr=/usr/local/bin/gdal-config \ --with-gdal=/usr/local/bin/gdal-config \ --with-freetype \ --with-tiff \ --with-agg \ --with-curl \ --enable-debug Jachym Cepicky wrote: Hi, I'm not able to get arcsde 9.3.0 compiled with mapserver (5.4), on Linux I use ./configure --with-sde=/opt/arcsde/9.3.0/sdeexe93/ --with-sde-version='' the arcsde installation directory containes (among others) file ... libsde.so .. nut not *.a file or *.h files however, I get configure: error: Could not find sdetype.h or libsde.a/libsde.so in /opt/arcsde/9.3.0/sdeexe93/. Any hint? Thanks Jachym ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp signature.asc Description: Toto je digitálně podepsaná část zprávy ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] can not compile arcsde 9.3 with mapserver 5.4
Hi, I'm not able to get arcsde 9.3.0 compiled with mapserver (5.4), on Linux I use ./configure --with-sde=/opt/arcsde/9.3.0/sdeexe93/ --with-sde-version='' the arcsde installation directory containes (among others) file ... libsde.so .. nut not *.a file or *.h files however, I get configure: error: Could not find sdetype.h or libsde.a/libsde.so in /opt/arcsde/9.3.0/sdeexe93/. Any hint? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users