Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Seth G
Hi Jeff, I tested on my ms4w installation just now, and didn't get any errors with the above test (MapServer 7.0.4 and GDAL 2.1.3). The same versions of the GISInternals builds did throw the error on the same machine. Maybe it is related to the sqlite/spatialite libraries? ms4w: SQLite 3.19

Re: [mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread Dan Little
I believe on RedHat-centric systems it's the "-devel" pacakges. I don't remember if it's "gd2-devel" or "libgd2-devel" but those would contain the gd.h file. That looks like a VERY OLD set of installed software. PHP 4.4.2 is potentially even unsafe to be using on the server. On Tue, Mar 6, 2018

Re: [mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread DamienZINS
Thanks but what do you mean by : "Have you installed the headers for GD?" ? to move to a newer version of MapServer: which one 7.07 the question is : which is the good version MapServer for the others sources installation >> installation de freetype-2.8 << >> installati

Re: [mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread Lime, Steve D (MNIT)
I would agree on the updating. We aren’t patching 4 or 5 anymore. Oldest version I’d recommend it 6.4.x… From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Dan Little Sent: Tuesday, March 06, 2018 1:47 PM To: DamienZINS Cc: mapserver-users@lists.osgeo.org Subjec

Re: [mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread Dan Little
Have you installed the headers for GD? And depending on the complexity of your Mapfiles, it might be a good time to move to a newer version of MapServer. There have been a number of significant improvements since 4.8.3. On Tue, Mar 6, 2018 at 4:26 AM, DamienZINS wrote: > Hi > > I must translate

Re: [mapserver-users] which versions for mapserver 4.8.3

2018-03-06 Thread Daniel Morissette
gdFontCacheSetup was added in GD 2.0.16 and that's what this configure test is checking for. Your install.log suggests that you installed GD 2.2.5 from source. Perhaps double check to make sure that you do not have two versions of GD on the system (one installed by the OS and one in your custo

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Jeff McKenna
Hi Seth, I was also testing with that same test dataset when you wrote this last message. In my testing using MS4W v3.2.5 here (MapServer 7.0.7, GDAL 2.2.3) I can display both the v1.2 and v1.0/1.1 test datasets of GPKG. (I remember painfully spending a lot of time building spatialite with s

Re: [mapserver-users] How return a different result for different IPs

2018-03-06 Thread Kralidis, Tom (EC)
Hi Andrea: correct. You can find examples in Python, Perl, PHP, etc. depending on your environment/requirements. Cheers ..Tom From: Andrea Peri [mailto:aperi2...@gmail.com] Sent: 06 March 2018 11:41 To: Kralidis, Tom (EC) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] How r

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Seth G
Hi, I'm trying to create an image from a Geopackage with MapServer. I can recreate the issue using data from http://www.geopackage.org/#sampledata It appears a v1.1 Geopackage will throw an error if the Sqlite database does not include the Spatialite extension. A v1.2 Geopackage does not seem

[mapserver-users] which versions for mapserver 4.8.3

2018-03-06 Thread DamienZINS
Hi I translate version from SOLARIS to Centos 7.x [root@localhost old]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) my differents versions. I compile these sources [root@localhost old]# grep installation install.log >> installation de freetype-2.8 << >>>

Re: [mapserver-users] How return a different result for different IPs

2018-03-06 Thread Andrea Peri
HiTom, Thx for hint it seem really an interesting solution. I dont know was possible to adjust the mapfle objet before executing it. I search and find this doc http://www.mapserver.org/ogc/mapscript.html right it ? Thx, A. 2018-03-06 16:18 GMT+01:00 Kralidis, Tom (EC) : > Hi Andrea: > > Yo

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Rahkonen Jukka (MML)
Hi, Please explain what you are actually doing. Do you wish to use geopackage for input or output, or both? For rasters, vectors, or both? If you use gpkg as input I suggest to create the database with GDAL from some publicly available datasets so others can do the same for reproducing you cas

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Rahkonen Jukka (MML)
Hi, Shapefile may be a little faster than gpkg, but not much. For me the advantages in data administration mean more than a nominal difference in speed (can use the same long attribute names than in the source data, support of longer than 255 character strings, just one file for one or more lay

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Gert Cuykens
Having the same error message but I thought it was because of gdal not compiled with spatialite or something? gdal = https://pkgs.alpinelinux.org/package/edge/testing/x86/gdal-dev 2018/03/02 13:18:21 [error] 15#0: *1 FastCGI sent in stderr: "CGI Request 1 on process 10 msOGRFileOpen: Spatialite s

Re: [mapserver-users] How return a different result for different IPs

2018-03-06 Thread Kralidis, Tom (EC)
Hi Andrea: You could serve your WMS via MapScript which could intercept the request and adjust the mapfile object in memory before executing the response. We've done this with Python MapScript in implementing the WMS Best Practice for Time/Elevation, but there's no reason why the same approach co

[mapserver-users] How return a different result for different IPs

2018-03-06 Thread Andrea Peri
Hi, I need to implement a wms mapserver service where from a layer. when done a GetFeatureInfo the system return a different geometry for differents IP address. More explicitly. It should return the exact geometry for some explicited IP address and return instead the Boundign Box for every other I

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Seth G
Thanks Even! I'll get a build together and test, Seth -- web:http://geographika.co.uk twitter: @geographika On Tue, Mar 6, 2018, at 11:41 AM, Even Rouault wrote: > Seth, > > I've pushed a temptative fix per > https://github.com/mapserver/mapserver/commit/4e4885f8598764b7cfb3a8c1c91c6f60

Re: [mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Even Rouault
Seth, I've pushed a temptative fix per https://github.com/mapserver/mapserver/commit/4e4885f8598764b7cfb3a8c1c91c6f60eb12671f but I'm not completely positive this will fix what you've seen. Even > Hi all, > > I'm trying out the geopackage format as an alternative to shapefiles but > running int

[mapserver-users] mapserver 4.8.3 errorsing libgd 2.0.16 (or higher) from ....

2018-03-06 Thread DamienZINS
Hi I must translate a SOLARIS version in CENTOS 7 OS version Above i put all versions sourve that i use In the file configure from mapserver 4.8.3, for me $IS_GD2 will be never true then compilation stop with configure: error: Could not find gd.h or libgd.a/libgd.so in /gmao/old/install. Make su

[mapserver-users] MapServer and Geopackage failing

2018-03-06 Thread Seth G
Hi all, I'm trying out the geopackage format as an alternative to shapefiles but running into an issue where MapServer expects the geopackage dataset to include spatialite. Drawing layers with shp2img logs the following: [Tue Mar 06 10:39:42 2018].512000 msDrawMap(): rendering using outputforma