[mapserver-users] Mapserver bumped from 7.0.7 to 7.4.1 leads to wrong projection of features
Jaap Donker
jaap at solarmonkey.nl
Tue Nov 19 05:02:45 PST 2019
Thanks for your response.
In our frontend we use the following projection string for EPSG:28992:
+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889
+k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel
+towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725
+units=m +no_defs
I hope these parts of the map file are informative enough:
MAP
PROJECTION
'init=epsg:28992'
END
OUTPUTFORMAT
NAME "GTiff"
DRIVER GDAL/GTiff
MIMETYPE "image/tiff"
IMAGEMODE INT16
EXTENSION "tif"
END
OUTPUTFORMAT
NAME "GTiff-FLOAT"
DRIVER GDAL/GTiff
MIMETYPE "image/tiff"
IMAGEMODE FLOAT32
EXTENSION "tif"
END
OUTPUTFORMAT
NAME "geojson"
DRIVER "OGR/GEOJSON"
MIMETYPE "application/json; subtype=geojson; charset=utf-8"
FORMATOPTION "STORAGE=memory"
FORMATOPTION "FORM=SIMPLE"
END
...
LAYER
METADATA
"wfs_srs" "EPSG:4326"
"wfs_enable_request" "*"
"wfs_getfeature_formatlist" "geojson"
"gml_include_items" "all"
"wfs_maxfeatures" "100" # Max features to load
END
TYPE POLYGON
STATUS ON
PROJECTION
"init=epsg:4326"
END
END
END
Kind regards,
Jaap
On Thu, 14 Nov 2019 at 18:53, Rahkonen Jukka (MML) <
jukka.rahkonen at maanmittauslaitos.fi> wrote:
> Hi,
>
>
>
> Please add relevant parts of your mapfile. Obviously all that relates to
> projections and an example of the client side requests as well if you are
> changing the coordinate system on the fly.
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* mapserver-users <mapserver-users-bounces at lists.osgeo.org> *Puolesta
> *Jaap Donker
> *Lähetetty:* torstai 14. marraskuuta 2019 17.51
> *Vastaanottaja:* mapserver-users at lists.osgeo.org
> *Aihe:* [mapserver-users] Mapserver bumped from 7.0.7 to 7.4.1 leads to
> wrong projection of features
>
>
>
> Hi,
>
>
>
> Upon updating mapserver, projections for the features we use in our webapp
> were off.
>
> We updated from version 7.0.7 to version 7.4.1. I'd like to stress that
> nothing else changed in setup during testing.
>
> In the images below you can see the situation before (left) and after
> (right). The blue lines are polygons representing seamlines for the
> orthomosaic of aerials we are using.
>
> This change in projection is troubling.
>
>
>
> Original situation:
>
> https://pasteboard.co/IGFtgdY.png
>
>
>
> New situation:
>
> https://pasteboard.co/IGFtxfs.png
>
>
>
> Going through the backlog I see that there's some changes in PROJ4, but
> I'm a bit at a loss as to how best to investigate this issue.
>
>
>
> Any help or guidance would be very much appreciated.
>
>
>
> Regards,
>
>
>
> Jaap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20191119/7f02d774/attachment.htm>
More information about the MapServer-users
mailing list