[mapserver-users] mapserver, msProjectPoint() error
Stephen Woodbridge
woodbri at swoodbridge.com
Mon Jul 10 18:11:17 PDT 2017
I think this error is caused because you have a layer with data defined
in lat,lon and it has coordinatesgreater than +-85.0511287776451 degrees
of latitude or > 180.0 or < -180.0 long.
Coordinates outside that range will generate this error.
-Steve W
On 7/10/2017 7:31 PM, Vu, Johnson (EC) wrote:
> Hi,
>
> I’m a student working on a webapp that uses mapserv 6.4.1. I’ve been
> getting this error in my ms_error.txt and I’m having trouble finding the
> cause. At first I thought it was a problem with my extents, so I
> verified all of them with my .shp files and everything was OK. I am
> using epsg:4326 as my projection. I’ve bolded the two errors I’ve been
> seeing the most. They fill the error log when I click on a region on the
> map.
>
> Does anyone know possible causes for the error I’ve posted below? I’m
> very new to mapserv and would appreciate any help.
>
> wxo_mapserv/tmp_output/ms_error.txt:
>
> [Mon Jul 10 23:06:29 2017].538763 msProjectPoint(): Projection library
> error. proj says: latitude or longitude exceeded limits
>
> [Mon Jul 10 23:06:29 2017].538797 msProjectPoint(): Projection library
> error. proj says: latitude or longitude exceeded limits
>
> [Mon Jul 10 23:06:29 2017].538813 msProjectRect(): some points failed to
> reproject, doing internal sampling.
>
> [Mon Jul 10 23:06:29 2017].539124 mapserv request processing time
> (msLoadMap not incl.): 0.352s
>
> [Mon Jul 10 23:06:29 2017].539162 msFreeMap(): freeing map at 0x2188de0.
>
> [Mon Jul 10 23:06:35 2017].301195 CGI Request 1 on process 31628
>
> [Mon Jul 10 23:06:35 2017].302266 msWFSParseRequest(): WFS post request:
> <GetFeature service="WFS"
>
> version="1.1.0"
> srsName="EPSG:900913" xmlns:topp="http://www.openplan
>
> s.org/topp"
> xmlns:wfs="http://www.opengis.net/wfs"
> xmlns:ogc="http://www.opengis.net
>
> /ogc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http
>
> ://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
> <Query
>
> typeName="clc_he_site_e"
> srsName="EPSG:900913">
> <Filter><Intersects> <Pr
>
> opertyName>the_geom</PropertyName> <Point
> srsName="EPSG:900913">
>
> <coordinates>-11383613.748454727,6924094.039571445</coordinates>
> </Point>
>
> </Intersects></Filter>
> </Query> </GetFeature>
>
> [Mon Jul 10 23:06:35 2017].303829 msProjectPoint(): Projection library
> error. proj says: tolerance condition error
>
> [Mon Jul 10 23:06:35 2017].303882 msProjectPoint(): Projection library
> error. proj says: tolerance condition error
>
> [Mon Jul 10 23:06:35 2017].303909 msProjectPoint(): Projection library
> error. proj says: tolerance condition error
>
> [Mon Jul 10 23:06:35 2017].303954 msProjectPoint(): Projection library
> error. proj says: tolerance condition error
>
> *“msProjectPoint(): Projection library error. proj says: tolerance
> condition error” <- repeats several hundred
> lines*
>
> *“msProjectPoint(): Projection library error. proj says: latitude or
> longitude exceeded limits” <- repeats several hundred lines*
>
> Post Request param:
>
> <?xml version="1.0"encoding="UTF-8"?>||
>
> <GetFeaturexmlns:ogc="http://www.opengis.net/ogc"xmlns:topp="http://www.openplans.org/topp"xmlns:wfs="http://www.opengis.net/wfs"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"service="WFS"version="1.1.0"srsName="EPSG:900913"xsi:schemaLocation="http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
> <http://www.opengis.net/wfs %20http:/schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd>">||
>
> ||<QuerytypeName="clc_he_site_e"srsName="EPSG:900913">||
>
> ||<Filter>||
>
> ||<Intersects>||
>
> ||<PropertyName>|the_geom|</PropertyName>||
>
> ||<PointsrsName="EPSG:900913">||
>
> ||<coordinates>|-11452101.325798245,7031717.375396973|</coordinates>||
>
> ||</Point>||
>
> ||</Intersects>||
>
> ||</Filter>||
>
> ||</Query>||
>
> </GetFeature>
>
> Thanks,
>
> Johnson
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the MapServer-users
mailing list