Tag Info

New answers tagged

0

Rene, there could be something else going on here as well, but its a problem that the service you are attempting to display has 512 pixel tiles (instead of 256). Proj4Leaflet has a constructor option for L.Proj.CRS.TMS service providers to let you set tileSize explicitly, but not for L.Proj.CRS. Since ArcGIS Server is not a 'TMS' tile server it appears ...


1

Different infos: some lines are not useful By default, these below projections already exist so you do not need to declare them Proj4js.defs["EPSG:4326"] = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"; Proj4js.defs["EPSG:900913"]= "+title=GoogleMercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m ...


1

Your best bet is to convert it to JSON. I assume the binary array is a file type, so you have a X,Y,(Attribute) grid in some format and you want to display it on Leaflet. If you have a way of reading the file, then work out how to output it just as points, so CSV, or GeoJSON as a first preference. If there are less than, say, 3000 points, that will render ...


0

Finally I found this thread, which answers the question for my needs: "The "no_defs" item ensures that no defaults are read from the defaults files. Sometimes they cause suprising problems." http://lists.osgeo.org/pipermail/mapserver-users/2003-November/046863.html



Top 50 recent answers are included