Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a WMS server that serves layers in ESRI:102012 projection. http://spatialreference.org/ref/esri/102012/ It accepts GetMap requests with srs=EPSG:102012 parameter.

My goal is to display a map in this projection with some WMS layers on it.

I'm using a proj4leaflet plugin (https://github.com/kartena/Proj4Leaflet) to setup a map for this projection, but I'm stuck with defining L.Transformation, scale and resolution parameters. Can anybody tell me what to put in those parameters, or give a working example of leaflet map in this projection?

share|improve this question
    
Asia Lambert: proj=lcc +lat_1=30 +lat_2=62 +lat_0=0 +lon_0=105 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs –  mkennedy Oct 4 '12 at 13:30
    
: I can't tell if the L.transformation has to be the real lower left of the data or can be more general. Try using -77 million, 0 for the lower left bound. If that doesn't work, try to get the LL from the WMS server. If you can only get it in degrees, let me know and I'll convert it for you. mkennedy at esri dot com –  mkennedy Oct 4 '12 at 13:42
add comment

1 Answer 1

leaflet has proj4 support

you should take a look at this [1] and here is a small example [2]

Hope this helps

[1] https://github.com/kartena/Proj4Leaflet/

[2] https://github.com/kartena/Proj4Leaflet/blob/master/examples/index.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.