[mapserver-users] Point between 2 tiles disappearing

Geo-6 support at geo6.be
Fri Jan 24 01:22:21 PST 2014


Hi,

 

I use Leaflet (http://leafletjs.com/) and MapServer with WMS.

Example : http://localhost/wms?map=mymap.map
<http://localhost/wms?map=mymap.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1
&LAYERS=mylayer&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=true&HEIGHT=256&WIDTH
=256&NOWRAP=true&SRS=EPSG%3A31370&BBOX=11999.999729989533,-139999.9996253261
3,139999.99967443026,-11999.999682342634>
&SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=mylayer&STYLES=&FORMAT=imag
e%2Fpng&TRANSPARENT=true&HEIGHT=256&WIDTH=256&NOWRAP=true&SRS=EPSG%3A31370&B
BOX=11999.999729989533,-139999.99962532613,139999.99967443026,-11999.9996823
42634

 

I do not use MapCache.

 

Thanks !

 

Jonathan Beliën

Geo-6

 

De : Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us] 
Envoyé : lundi 20 janvier 2014 21:42
À : Geo-6; mapserver-users at lists.osgeo.org
Objet : RE: [mapserver-users] Point between 2 tiles disappearing

 

MapServer expands the search extent slightly based on feature definitions
(e.g. marker size, etc...) so that partial features are captured and
rendered. That should take care of a case like this. What are you using to
do the tiling (i.e. mapcache, tilecache, mode=tile)? 

 

Steve

 

  _____  

From: mapserver-users-bounces at lists.osgeo.org
[mapserver-users-bounces at lists.osgeo.org] on behalf of Geo-6
[support at geo6.be]
Sent: Monday, January 20, 2014 4:13 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Point between 2 tiles disappearing

Hello,

 

I forgot to say that Leaflet access to MapServer via WMS.

 

Here is a copy of the MAP file :

[
]

 

Thanks J

 

Jonathan Beliën

Geo-6

 

De : Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us] 
Envoyé : vendredi 17 janvier 2014 00:28
À : Geo-6; mapserver-users at lists.osgeo.org
Cc : ms4w-users at lists.maptools.org
Objet : RE: [mapserver-users] Point between 2 tiles disappearing

 

What’s the layer definition look like? 

 

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Geo-6
Sent: Thursday, January 16, 2014 11:06 AM
To: mapserver-users at lists.osgeo.org
Cc: ms4w-users at lists.maptools.org
Subject: [mapserver-users] Point between 2 tiles disappearing

 

Hi everyone,

 

I use MS4W (see below for more information on my version of MapServer) with
Leaflet.

The projection system I use is EPSG:31370 (see below for proj4 definition).

 

Sometimes, at certain zoom level, when a point is between 2 tiles, the point
is not shown.

Here are some screenshots :

 

Resolution = 10

 

 

Resolution = 5

 

 

Resolution = 2

 

 

Resolution = 1

 

 

You can see at resolution = 1 that the symbol is “cut”.

 

How can I fix this ?

 

Thanks a lot for your help and sorry for my English.

 

MS4W:

MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
SUPPORTS=SVG_SYMBOLS SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE]

 

EPSG:31370:

+proj=lcc +lat_1=51.16666723333333 +lat_2=49.8333339 +lat_0=90
+lon_0=4.367486666666666 +x_0=150000.013 +y_0=5400088.438 +ellps=intl
+towgs84=-106.869,52.2978,-103.724,0.3366,-0.457,1.8422,-1.2747 +units=m
+no_defs

 

Jonathan Beliën

Geo-6

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140124/5cf09468/attachment-0001.html>


More information about the mapserver-users mailing list