Michal Seidl | 29 Dec 12:13 2015
Picon

Is EXTENT on LAYER necessary for WFS with PostGIS

Hello,
It looks like EXTENT parameter is necessary on LAYER level when trying to
get data as WFS from PostGIS with CONNECTION postgis driver. The problem is
that data in DB is changing and how to update mapfile?

Thanks Michal

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Is-EXTENT-on-LAYER-necessary-for-WFS-with-PostGIS-tp5243162.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Daniel Mwaurah | 27 Dec 22:11 2015
Picon

Re: CGI Tilemode blank on one layer

Thanks to much help from Steve i was finally able to solve my problem and it was a naming error on the layer that wasn’t displaying. I was writing the name as 'kenyaoutline' on the url section while it should have been 'Kenyaoutline' as named on the mapfile.



On Thu, Dec 24, 2015 at 4:30 PM, Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us> wrote:

Since you have no scale dependencies or anything like that I don’t know why… You have some spurious layer definitions (no need for TILEITEM or UNITS) but I don’t think that’s the problem. The most obvious cause would be that you’re viewing an area where there is ocean but no Kenya. What happens if you request both layers in the same tile?

  http://localhost/cgi-bin/mapserv?MAP=/var/wpsinput/gdss.map&layer=10m_ocean&layer=kenyaoutline&mode=tile&tile=${x}+${y}+${z}.png

Steve

 

From: Daniel Mwaurah [mailto:mwaurah <at> gmail.com]
Sent: Wednesday, December 23, 2015 4:30 PM


To: Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us>
Cc: mapserver-users <at> lists.osgeo.org
Subject: Re: [mapserver-users] CGI Tilemode blank on one layer

 

Thats true Steve, 

 

Its actually rendering in the non tiled setting. I wonder how come its one layer not rendering in tilemode while the other one is. Both render ok in non tile setting.

 

 

 

On Wed, Dec 23, 2015 at 10:29 PM, Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us> wrote:

It will look at the extent of shapefiles to decide if it needs to process features in a layer but that’s to be expected. I mean, if there’s nothing to draw then why bother. Have you verified that the layers render in a non-tiled setting?

 

From: Daniel Mwaurah [mailto:mwaurah <at> gmail.com]
Sent: Wednesday, December 23, 2015 3:26 PM
To: Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us>
Cc: mapserver-users <at> lists.osgeo.org
Subject: Re: [mapserver-users] CGI Tilemode blank on one layer

 

Thank you Steve for your response. 

 

I have tried commenting out the extents but still the same problem. I think it recognizes the inbuilt extents of the data layers.

 

On Wed, Dec 23, 2015 at 9:36 PM, Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us> wrote:

What happens if you comment out the layer extents? They really shouldn’t be necessary.

 

From: mapserver-users [mailto:mapserver-users-bounces <at> lists.osgeo.org] On Behalf Of Daniel Mwaurah
Sent: Wednesday, December 23, 2015 2:27 PM
To: mapserver-users <at> lists.osgeo.org
Subject: [mapserver-users] CGI Tilemode blank on one layer

 

hallo people,

 

I would greatly appreciate some help with Mapserver Tile mode. Eeven a hint in the right direction would be much appreciated. I am trying to display two layers in Tile mode in open layers as follows

 

 

 

 

 

The problem arises in that one layer the 10m_ocean displays while the other one just shows a blank. I suspect it has to do with the extents because the 10m_ocean layers has a large extent from -180 to 180 while the kenyaoutline layer only covers one country from about 33 to 37 degrees.

 

Is there a limitation to small extents in tile mode? or what could be the problem. My mapfile is as below.

 

 

MAP

  #FONTSET "[fontsetpath]"

DEBUG 5

  CONFIG "MS_ERRORFILE" "/var/www/wpsinput/ms_error.txt"

  EXTENT 33 -5 42 6

  IMAGETYPE "png"

  NAME "Natural_Earth_quick_start_for_QGIS"

  SIZE 600 600

  CONFIG ON_MISSING_DATA "LOG"

  STATUS ON

  UNITS DD

 

  OUTPUTFORMAT

    NAME "png"

    MIMETYPE "image/png"

    DRIVER "AGG/PNG"

    EXTENSION "png"

    IMAGEMODE RGBA

    TRANSPARENT TRUE

  END # OUTPUTFORMAT

 

  PROJECTION

    "proj=longlat"

    "datum=WGS84"

    "no_defs"

  END # PROJECTION

  LEGEND

    KEYSIZE 20 10

    KEYSPACING 5 5

    LABEL

      SIZE MEDIUM

      OFFSET 0 0

      SHADOWSIZE 1 1

      TYPE BITMAP

    END # LABEL

    STATUS OFF

  END # LEGEND

 

  QUERYMAP

    SIZE -1 -1

    STATUS OFF

    STYLE HILITE

  END # QUERYMAP

 

  SCALEBAR

    INTERVALS 4

    LABEL

      SIZE MEDIUM

      OFFSET 0 0

      SHADOWSIZE 1 1

      TYPE BITMAP

    END # LABEL

    SIZE 200 3

    STATUS OFF

    UNITS MILES

  END # SCALEBAR

 

  WEB

    FOOTER ""

    HEADER ""

    TEMPPATH ""

    METADATA

      "ows_onlineresource"        "http://localhost/cgi-bin/mapserv?map=/home/wpsinput/worldmap.map"

      "ows_enable_request"       "*"

      "ows_srs"  "EPSG:4326"

      "ows_title" "Natural_Earth_quick_start_for_QGIS"

    END # METADATA

    #TEMPLATE "[templatepath]"

  END # WEB

 

  LAYER

    DATA "/var/www/10m_physical/10m_ocean.shp"

    EXTENT 33 -5 42 6

    METADATA

      "ows_title" "10m_ocean"

    END # METADATA

    NAME "10m_ocean"

    PROJECTION

      "proj=longlat"

      "datum=WGS84"

      "no_defs"

    END # PROJECTION

    STATUS ON

    TILEITEM "location"

    TYPE POLYGON

    UNITS METERS

    CLASS

      NAME "Single symbol"

      STYLE

        COLOR 198 226 242

      END # STYLE

    END # CLASS

  END # LAYER

 

 

LAYER

    DATA "/var/www/kenyaoutline/Kenyaoutline.shp"

    EXTENT 33 -5 42 6

    METADATA

      "ows_title" "Kenyaoutline"

    END # METADATA

    NAME "Kenyaoutline"

    PROJECTION

      "proj=longlat"

      "datum=WGS84"

      "no_defs"

    END # PROJECTION

    STATUS ON

    TILEITEM "location"

    TYPE POLYGON

    UNITS METERS

    CLASS

      NAME "Single symbol"

      STYLE

        COLOR 0 0 0

      END # STYLE

    END # CLASS

  END # LAYER

 

END # MAP

 

 

 

The same happens when i try to view it using QGIS Tilelayer plugin.


 

--

Kind regards,

Mwaura Daniel



 

--

Kind regards,

Mwaura Daniel



 

--

Kind regards,

Mwaura Daniel




--
Kind regards,

Mwaura Daniel

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Daniel Mwaurah | 23 Dec 23:29 2015
Picon

Re: CGI Tilemode blank on one layer

Thats true Steve, 

Its actually rendering in the non tiled setting. I wonder how come its one layer not rendering in tilemode while the other one is. Both render ok in non tile setting.



On Wed, Dec 23, 2015 at 10:29 PM, Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us> wrote:

It will look at the extent of shapefiles to decide if it needs to process features in a layer but that’s to be expected. I mean, if there’s nothing to draw then why bother. Have you verified that the layers render in a non-tiled setting?

 

From: Daniel Mwaurah [mailto:mwaurah <at> gmail.com]
Sent: Wednesday, December 23, 2015 3:26 PM
To: Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us>
Cc: mapserver-users <at> lists.osgeo.org
Subject: Re: [mapserver-users] CGI Tilemode blank on one layer

 

Thank you Steve for your response. 

 

I have tried commenting out the extents but still the same problem. I think it recognizes the inbuilt extents of the data layers.

 

On Wed, Dec 23, 2015 at 9:36 PM, Lime, Steve D (MNIT) <Steve.Lime <at> state.mn.us> wrote:

What happens if you comment out the layer extents? They really shouldn’t be necessary.

 

From: mapserver-users [mailto:mapserver-users-bounces <at> lists.osgeo.org] On Behalf Of Daniel Mwaurah
Sent: Wednesday, December 23, 2015 2:27 PM
To: mapserver-users <at> lists.osgeo.org
Subject: [mapserver-users] CGI Tilemode blank on one layer

 

hallo people,

 

I would greatly appreciate some help with Mapserver Tile mode. Eeven a hint in the right direction would be much appreciated. I am trying to display two layers in Tile mode in open layers as follows

 

 

 

 

 

The problem arises in that one layer the 10m_ocean displays while the other one just shows a blank. I suspect it has to do with the extents because the 10m_ocean layers has a large extent from -180 to 180 while the kenyaoutline layer only covers one country from about 33 to 37 degrees.

 

Is there a limitation to small extents in tile mode? or what could be the problem. My mapfile is as below.

 

 

MAP

  #FONTSET "[fontsetpath]"

DEBUG 5

  CONFIG "MS_ERRORFILE" "/var/www/wpsinput/ms_error.txt"

  EXTENT 33 -5 42 6

  IMAGETYPE "png"

  NAME "Natural_Earth_quick_start_for_QGIS"

  SIZE 600 600

  CONFIG ON_MISSING_DATA "LOG"

  STATUS ON

  UNITS DD

 

  OUTPUTFORMAT

    NAME "png"

    MIMETYPE "image/png"

    DRIVER "AGG/PNG"

    EXTENSION "png"

    IMAGEMODE RGBA

    TRANSPARENT TRUE

  END # OUTPUTFORMAT

 

  PROJECTION

    "proj=longlat"

    "datum=WGS84"

    "no_defs"

  END # PROJECTION

  LEGEND

    KEYSIZE 20 10

    KEYSPACING 5 5

    LABEL

      SIZE MEDIUM

      OFFSET 0 0

      SHADOWSIZE 1 1

      TYPE BITMAP

    END # LABEL

    STATUS OFF

  END # LEGEND

 

  QUERYMAP

    SIZE -1 -1

    STATUS OFF

    STYLE HILITE

  END # QUERYMAP

 

  SCALEBAR

    INTERVALS 4

    LABEL

      SIZE MEDIUM

      OFFSET 0 0

      SHADOWSIZE 1 1

      TYPE BITMAP

    END # LABEL

    SIZE 200 3

    STATUS OFF

    UNITS MILES

  END # SCALEBAR

 

  WEB

    FOOTER ""

    HEADER ""

    TEMPPATH ""

    METADATA

      "ows_onlineresource"        "http://localhost/cgi-bin/mapserv?map=/home/wpsinput/worldmap.map"

      "ows_enable_request"       "*"

      "ows_srs"  "EPSG:4326"

      "ows_title" "Natural_Earth_quick_start_for_QGIS"

    END # METADATA

    #TEMPLATE "[templatepath]"

  END # WEB

 

  LAYER

    DATA "/var/www/10m_physical/10m_ocean.shp"

    EXTENT 33 -5 42 6

    METADATA

      "ows_title" "10m_ocean"

    END # METADATA

    NAME "10m_ocean"

    PROJECTION

      "proj=longlat"

      "datum=WGS84"

      "no_defs"

    END # PROJECTION

    STATUS ON

    TILEITEM "location"

    TYPE POLYGON

    UNITS METERS

    CLASS

      NAME "Single symbol"

      STYLE

        COLOR 198 226 242

      END # STYLE

    END # CLASS

  END # LAYER

 

 

LAYER

    DATA "/var/www/kenyaoutline/Kenyaoutline.shp"

    EXTENT 33 -5 42 6

    METADATA

      "ows_title" "Kenyaoutline"

    END # METADATA

    NAME "Kenyaoutline"

    PROJECTION

      "proj=longlat"

      "datum=WGS84"

      "no_defs"

    END # PROJECTION

    STATUS ON

    TILEITEM "location"

    TYPE POLYGON

    UNITS METERS

    CLASS

      NAME "Single symbol"

      STYLE

        COLOR 0 0 0

      END # STYLE

    END # CLASS

  END # LAYER

 

END # MAP

 

 

 

The same happens when i try to view it using QGIS Tilelayer plugin.


 

--

Kind regards,

Mwaura Daniel



 

--

Kind regards,

Mwaura Daniel




--
Kind regards,

Mwaura Daniel

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Daniel Mwaurah | 23 Dec 21:27 2015
Picon

CGI Tilemode blank on one layer

hallo people,

I would greatly appreciate some help with Mapserver Tile mode. Eeven a hint in the right direction would be much appreciated. I am trying to display two layers in Tile mode in open layers as follows





The problem arises in that one layer the 10m_ocean displays while the other one just shows a blank. I suspect it has to do with the extents because the 10m_ocean layers has a large extent from -180 to 180 while the kenyaoutline layer only covers one country from about 33 to 37 degrees.

Is there a limitation to small extents in tile mode? or what could be the problem. My mapfile is as below.


MAP
  #FONTSET "[fontsetpath]"
DEBUG 5
  CONFIG "MS_ERRORFILE" "/var/www/wpsinput/ms_error.txt"
  EXTENT 33 -5 42 6
  IMAGETYPE "png"
  NAME "Natural_Earth_quick_start_for_QGIS"
  SIZE 600 600
  CONFIG ON_MISSING_DATA "LOG"
  STATUS ON
  UNITS DD

  OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "AGG/PNG"
    EXTENSION "png"
    IMAGEMODE RGBA
    TRANSPARENT TRUE
  END # OUTPUTFORMAT

  PROJECTION
    "proj=longlat"
    "datum=WGS84"
    "no_defs"
  END # PROJECTION
  LEGEND
    KEYSIZE 20 10
    KEYSPACING 5 5
    LABEL
      SIZE MEDIUM
      OFFSET 0 0
      SHADOWSIZE 1 1
      TYPE BITMAP
    END # LABEL
    STATUS OFF
  END # LEGEND

  QUERYMAP
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END # QUERYMAP

  SCALEBAR
    INTERVALS 4
    LABEL
      SIZE MEDIUM
      OFFSET 0 0
      SHADOWSIZE 1 1
      TYPE BITMAP
    END # LABEL
    SIZE 200 3
    STATUS OFF
    UNITS MILES
  END # SCALEBAR

  WEB
    FOOTER ""
    HEADER ""
    TEMPPATH ""
    METADATA
      "ows_enable_request" "*"
      "ows_srs" "EPSG:4326"
      "ows_title" "Natural_Earth_quick_start_for_QGIS"
    END # METADATA
    #TEMPLATE "[templatepath]"
  END # WEB

  LAYER
    DATA "/var/www/10m_physical/10m_ocean.shp"
    EXTENT 33 -5 42 6
    METADATA
      "ows_title" "10m_ocean"
    END # METADATA
    NAME "10m_ocean"
    PROJECTION
      "proj=longlat"
      "datum=WGS84"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TILEITEM "location"
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "Single symbol"
      STYLE
        COLOR 198 226 242
      END # STYLE
    END # CLASS
  END # LAYER


LAYER
    DATA "/var/www/kenyaoutline/Kenyaoutline.shp"
    EXTENT 33 -5 42 6
    METADATA
      "ows_title" "Kenyaoutline"
    END # METADATA
    NAME "Kenyaoutline"
    PROJECTION
      "proj=longlat"
      "datum=WGS84"
      "no_defs"
    END # PROJECTION
    STATUS ON
    TILEITEM "location"
    TYPE POLYGON
    UNITS METERS
    CLASS
      NAME "Single symbol"
      STYLE
        COLOR 0 0 0
      END # STYLE
    END # CLASS
  END # LAYER

END # MAP



The same happens when i try to view it using QGIS Tilelayer plugin.


--
Kind regards,

Mwaura Daniel

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
AuroraGH | 22 Dec 04:34 2015
Picon

S57 Marine Charts on mapserver?

NOAA provides free nautical charts in S57 format.  They need to be rendered
using S52 formatting.

Can mapserver do this and provide it as a tile service?

I can't seem to figure it out and it seems like it would be a really common
thing to want.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/S57-Marine-Charts-on-mapserver-tp5242416.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Domenico Febbo | 17 Dec 11:36 2015
Picon

Kernel Density maps

Dear all,
I'm playing with Kernel Density maps [1]  on MAPSERVER 7.0.0 and I have some questions/suggestions:

1) It could be useful to set the "KERNELDENSITY_RADIUS" also in map units not only in pixel in order to save density distribution during zoom in/out

2) I didin't find a way to use KERNELDENSITY_ATTRIBUTE, do you have examples or information?

3) How to generate a LEGEND of raster values for the HEATMAP?


Regards, Domenico.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
kelly elton | 16 Dec 16:49 2015
Picon
Gravatar

Unable to load DLL 'csharpmapscript'

So I've compiled both mapscript 7 and 6.4 against the sdk from gisinternals on windows. 

cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1 -DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40" -DREGEX_DIR="C:\mapserver\regex-0.12" -DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"

Then I get the error when trying to use the mapscript library in .net
Unable to load DLL 'csharpmapscript'

If i load up the dll it's looking for the import 'csharpmapscript' which doesn't exist anywhere.

So I tried renaming mapscript.dll to 'csharpmapscript.dll' and that gets past that point but throws an assert error.

Any ideas what I might be missing here?
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
kelly elton | 15 Dec 18:40 2015
Picon
Gravatar

cmake issue

Having issues running cmake on mapserver on windows using the sdk from gisinternals

c:\mapserver\mapserver\build>cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1 -DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40" -DMSVC_VER=1800 -DMSVC_VERSION=1600 -DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"

CMake Error at CMakeLists.txt:69 (message):
  ICONV library/component/dependency could not be found.

    HINTS:
    - disable ICONV support by adding -DWITH_ICONV=0
    - add the ICONV install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/ICONV-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:429 (report_optional_not_found)

iconv.dll iconv.h and iconv.lib are all present in the sdk
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Kralidis, Tom (EC/EC | 14 Dec 16:23 2015
Picon

contour layers with tileindex issues

Hi all: using 6.4.1 we are attempting to display (via WMS) GRIB2 data as a contour layer backed by a tileindex
setup.  Invoking a basic WMS 1.3.0 GetMap request returns the following ServiceExceptionReport:

msDrawMap(): Image handling error. Failed to draw layer named 'RDPS.ETA_PN'.
msContourLayerOpen(): Image handling error. Unable to open GDAL dataset.
msBuildPath: Unable to access file. 
msBuildPath: Unable to access file. 
msContourLayerSetTimeFilter(): General error message. Assertion failed: Contour layer not opened!!!

When I point directly to a single GRIB2 file (via the DATA directive), all works as expected.

Layer definition snippet below.

Any idea what I'm doing wrong here?  Or whether this is a suitable workaround?  Note we are bound to UbuntuGIS stable.

Thanks

..Tom

LAYER
 NAME "RDPS.ETA_PN"
 STATUS ON
 DEBUG OFF
 TILEINDEX "/data/tileindex/foo.shp"  # doesn't work
 # DATA "/data/foo.grib2"  # works
 TYPE LINE
 CONNECTIONTYPE CONTOUR
PROCESSING "BAND=1"
 PROCESSING "CONTOUR_INTERVAL=400"
 PROCESSING "CONTOUR_ITEM=pixel"
 DUMP TRUE
 TEMPLATE "ttt.html"
PROJECTION
 "proj=stere"
 "lat_0=90"
 "lat_ts=60"
 "lon_0=249"
 "k=90"
 "x_0=0"
 "y_0=0"
 "a=6371229"
 "b=6371229"
 "units=m"
 "no_defs"
END
...
END
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Wim Vanbelle | 11 Dec 20:37 2015
Picon

Color the world, but not my country

Dear,

I have a country shapefile and I would like to style everything, besides the one feature in the polygon.

This is a shapefile layer, so I'm wondering on how I could possibly improve this:


        LAYER
                NAME "gadm"
                TYPE POLYGON
TRANSPARENCY 70
                DATA "gadm28.shp"
                STATUS default
DEBUG 4

                CLASS
EXPRESSION ("[ISO]" != "NLD")

                        style
                                color "#000000"
                        end

                END
        END

Basically, I would like to only use the data from the netherlands (NLD), because it's a lot less data, and color everything else, besides the one feature that it has.

My above (working example) is taking the entire world and only filtering out what I want to see.

The goal is to visually create a map of a single country and block out all the rest ;-). It's rendered as a tile layer. (gmaps)

Thanks in advance for your feedback.

Best regards,
Wim
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Léonard DUMONT | 11 Dec 13:03 2015
Picon

Re: [Mac OS X] Impossible to load MapScript module with PHP

Ok, thanks for your answer. I thought there could have been another solution, but I'll try to install PHP with homebrew.

Cordialement,

Léonard Dumont

2015-12-11 10:33 GMT+01:00 Ben Madin <ben <at> ausvet.com.au>:
Um, you are correct, the extension has not been compiled to work with the same version of php as you are trying to use.

I can only suggest that you get your php from the same source as your mapscript... (I guess homebrew, but my success there has been limited and conflicted) or compile php yourself, them mapserver with the php-mapscript option set.

You may be up for some pain...! You could also try kyngchaos.com, but I'm not sure if he is still providing a php suitable for what you want. 



On 10 December 2015 at 17:28, Leonard <dumont.leonard <at> gmail.com> wrote:
Hi everyone !

I am a new user trying to use mapserver, and I have some problems... One of
them is that I cannot load the php_mapscript extension. I have PHP 5.6.11
installed with  php-osx.liip.ch <http://php-osx.liip.ch>   and mapscript 6.4
installed with Homebrew, and there seems to be a conflict, since when I run
php I get this warning :

Warning: PHP Startup: MapScript: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match

I added this line to my php.ini file :

extension="/usr/local/opt/mapserver-64/mapscript/php/php_mapscript.so"

Thanks for your help !

Léonard Dumont.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mac-OS-X-Impossible-to-load-MapScript-module-with-PHP-tp5240669.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--

Ben Madin
BVMS PhD, MANZCVS

t : +61 8 6102 5535
m : +61 448 887 220
e : ben <at> ausvet.com.au

AusVet Animal Health Services
Western Australia

www.ausvet.com.au

_______________________________________________
mapserver-users mailing list
mapserver-users <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Gmane