I have also imported the road network layer from the Mumbai Freemap and here is the WMS URL:<br><br><a href="http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/png&request=GetMap&service=WMS&version=1.1.1&layers=road_net_line_4326">http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/png&request=GetMap&service=WMS&version=1.1.1&layers=road_net_line_4326</a><br>
<br>Good for comparing to AND's road network. ;-) <br><br><br>S.K.<br><br><div class="gmail_quote">2008/7/6 Shekhar Krishnan <<a href="mailto:shekhar@crit.org.in">shekhar@crit.org.in</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I spent today attempting to grapple with these issues, with some success. We've reprojected the WMS into wgs84 (EPSG:4326) from UTM 43N (EPSG:32643) by reprojecting the shape files using ogr2ogr. This fixed the WMS problem, and I have succesfully loaded these URLs for different layers from the Mumbai Freemap in JOSM:<br>

<br>Buildings (Polygons)<br><a href="http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=building_polygon_4326" target="_blank">http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=building_polygon_4326</a><br>

<br>Building Outlines (Lines)<br><a href="http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=building_line_4326" target="_blank">http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=building_line_4326</a><br>

<br>Municipal Land Use Reservations (Polygons)<br><a href="http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=reserved_polygon_4326" target="_blank">http://mumbai.freemap.in/wms.cgi?srs=epsg:4326&format=image/jpeg&request=GetMap&service=WMS&version=1.1.1&layers=reserved_polygon_4326</a><br>

<br>There are several other layers in <a href="http://mumbai.freemap.in" target="_blank">http://mumbai.freemap.in</a> that are not here yet, and I will work on grouping and styling them so there is only one for buildings and another for road and rail networks and send around new links. A quick glance at the results in OSM shows that as reported, with the AND data on OSM right now, everything has been moved east and north, though this is not consistent and in Central Mumbai the offset seems to becomes less. <br>

<br>This raises the question of what to do generally about Mumbai in OSM. While a WMS overlay looks nice and can be traced by volunteers with a great deal of time and effort, I am more interested in directly loading these shape files into JOSM and supplementing or replacing the AND data with our Mumbai Freemap layers. I am happy to share these shape files with anyone in the OSM community
who might be able to lend a hand using osmlib, ruby-shapefile, gml2osm,
or any other method. <br>
<br>A correction to Mikel: the third dataset which you mentioned we have from the Govt of Maharashtra PWD is not of Mumbai, but of the rest of the state, and contains the entire road network, all village names and maps, and district boundaries for Maharashtra. These are also shape files with their own pecularities. <br>

<br>I've had issues both with JSOM and the WMS plugin which I'll also note here. I'm a newcomer to both, so any help is appreciated. Downloading data for Mumbai from OSM and from local OSM instances such as <a href="http://demo.binyasit.com:3000/" target="_blank">http://demo.binyasit.com:3000/</a> almost always returns only a snippet of the area which I select from the permalink. I'm not sure why, sometimes I get the fulll boundaries of Greater Mumbai and then a handful of nodes. <br>

<br>Also, the WMS plugin is not very good at saving changes made to new entries, which often revert to the previous saved entry after restarting JSOM. This has made it difficult to keep track of which WMS URL is being called as the menu is not refreshed after saving a URL and restarting JSOM. The other issue, which Chippy raised, is the lack of UTM support in the WMS plugin which should be addressed as we would rather use our UTM projection fof maximum accuracy. <br>

<br>Thanks for the help and support!<br><br>Best, <br><br><br>Shekhar<br><br><div class="gmail_quote">2008/7/6 Tim Waters (chippy) <<a href="mailto:chippy2005@gmail.com" target="_blank">chippy2005@gmail.com</a>>:<div>
<div></div><div class="Wj3C7c"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
UTM which EPS:32643 appears to be, could be implemented within the wmsplugin.<br>
<br>
The WMSplugin uses some classes from jcoord, to convert from OSGB<br>
(what the NPE wms server uses) to wgs84. (OSGB is itself Transverse<br>
Mercator too)<br>
<br>
Looking at the jcoord package, it also has classes to convert from UTM<br>
zones also :<br>
<a href="http://www.jstott.me.uk/jcoord/api/1.1-b/uk/me/jstott/jcoord/UTMRef.html" target="_blank">http://www.jstott.me.uk/jcoord/api/1.1-b/uk/me/jstott/jcoord/UTMRef.html</a><br>
So I'd think the wmsplugin could be hacked to get it working<br>
reasonably easily.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Tim<br>
</font><div><div></div><div><br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><div><div></div><div class="Wj3C7c"><br>-- <br><br>Shekhar Krishnan<br>9 Supriya, 2nd Floor<br>Plot 709, Parsee Colony Road no.4<br>Dadar, Mumbai 400014<br>
India<br><br><a href="http://web.mit.edu/shekhar" target="_blank">http://web.mit.edu/shekhar</a><br>
<a href="http://heptanesia.net" target="_blank">http://heptanesia.net</a><br><a href="http://bombayology.net" target="_blank">http://bombayology.net</a> 
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Shekhar Krishnan<br>9 Supriya, 2nd Floor<br>Plot 709, Parsee Colony Road no.4<br>Dadar, Mumbai 400014<br>India<br><br><a href="http://web.mit.edu/shekhar">http://web.mit.edu/shekhar</a><br>
<a href="http://heptanesia.net">http://heptanesia.net</a><br><a href="http://bombayology.net">http://bombayology.net</a>