Thanks Mike and Maning,<br><br>The XAPI call worked beautifully. I tried it before but the HTTP connection just timed out so I tried it again tonight and it worked. :-)<br><br>So the following XAPI call should now return the complete 80 place=state nodes for the provinces.<br>
<a href="http://osmxapi.hypercube.telascience.org/api/0.6/node%5Bplace=state%5D%5Bbbox=116.65,4.588889,126.604444,21.113056" target="_blank">http://osmxapi.hypercube.telascience.org/api/0.6/node[place=state][bbox=1</a>16,4,128,21]<br>
<br>I also took the liberty of adjusting the location of some nodes to a more central location. (In some cases, the nodes were outside their provinces and located in their neighbors!) Whenever I moved nodes, I removed the tags pertaining to the GNS import since the new coordinates no longer match the ones in GNS.<br>
<br>Anyone is free to verify/correct my edits. :-)<br><br><br>Eugene / seav<br><br><br><div class="gmail_quote">On Tue, Sep 15, 2009 at 3:43 AM, Mike Collinson <span dir="ltr"><<a href="mailto:mike@ayeltd.biz">mike@ayeltd.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
"state" is the Map Features tag value for states, provinces and
roughly synonomous high-level national subdivisions.<br><br>
<a href="http://wiki.openstreetmap.org/wiki/Tag:place=state" target="_blank">
http://wiki.openstreetmap.org/wiki/Tag:place%3Dstate</a><br><br>
FYI, editing them is real easy with XAPI. The following is a bounding box
for the Philippines. It will download a file that you can open and edit
in JOSM. You can then upload changes directly from JOSM. Just bear
in mind that these are not downloads from the live server but should
normally be no more than 10 minutes older.<br><br>
<br>
<a href="http://osmxapi.hypercube.telascience.org/api/0.6/node%5Bplace=state%5D%5Bbbox=116.65,4.588889,126.604444,21.113056" target="_blank">
http://osmxapi.hypercube.telascience.org/api/0.6/node[place=state][bbox=116.65,4.588889,126.604444,21.113056</a>
] (just worked for me)<br><br>
or <br><br>
<a href="http://www.informationfreeway.org/api/0.6/" target="_blank">
http://www.informationfreeway.org/api/0.6</a>
/node[place=state][bbox=116.65,4.588889,126.604444,21.113056] (seems to
be offline)<br><br>
<a href="http://wiki.openstreetmap.org/wiki/XAPI" target="_blank">
http://wiki.openstreetmap.org/wiki/XAPI<br><br>
</a>Mike<div><div></div><div class="h5"><br><br>
At 06:41 AM 14/09/2009, Eugene Alvin Villar wrote:<br><br>
<blockquote type="cite">On Mon, Sep 14, 2009 at 12:11
PM, maning sambale
<<a href="mailto:emmanuel.sambale@gmail.com" target="_blank">
emmanuel.sambale@gmail.com</a>> wrote:<br>
<dl>
<dd>Why place=state?<br><br>
</dd></dl><br>
That's what the existing node have so I simply copied the
"convention".<br><br>
I checked Canada (since they have provinces and territories instead of
states) and found out their nodes also use place=state. For example
Saskatchewan:
<a href="http://www.openstreetmap.org/browse/node/305700698" target="_blank">
http://www.openstreetmap.org/browse/node/305700698</a><br><br>
Of course, it doesn't help that Mike also imported those nodes.
:-p<br><br>
So, i'm not sure if we should change place=state to place=province. Take
note that we also had an old discussion regarding whether to use
place=village for barangays. Then again, the
place=city,town,suburb,hamlet,village values are for settlements, not
large administrative subdivisions.<br><br>
Any thoughts?</blockquote></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://vaes9.codedgraphic.com">http://vaes9.codedgraphic.com</a><br>