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:[email protected]] Envoyé : lundi 20 janvier 2014 21:42 À : Geo-6; [email protected] 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: [email protected] [[email protected]] on behalf of Geo-6 [[email protected]] Sent: Monday, January 20, 2014 4:13 AM To: [email protected] 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:[email protected]] Envoyé : vendredi 17 janvier 2014 00:28 À : Geo-6; [email protected] Cc : [email protected] Objet : RE: [mapserver-users] Point between 2 tiles disappearing Whats the layer definition look like? From: [email protected] [mailto:[email protected]] On Behalf Of Geo-6 Sent: Thursday, January 16, 2014 11:06 AM To: [email protected] Cc: [email protected] 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
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
