hxl-team / HXL-Browser

Web-based browser for the Humanitarian eXchange Language (HXL).
http://hxl.humanitarianresponse.info
6 stars 1 forks source link

Map: Geometry mix up with Mali admin levels #15

Open vpcom opened 11 years ago

vpcom commented 11 years ago

http://hxl.humanitarianresponse.info/data/locations/admin/mli/MLI001 It is a level one, but the map displays the city. The found geometry is the one of the lowest level location (in Mali, the main cities give their name to the higher level admin units).

http://hxl.humanitarianresponse.info/data/locations/admin/mli/MLI005 The map displays the lowest and highest geometries for the name "Bamako" which is wrong because Bamako is "MLI001".

cjhendrix commented 11 years ago

It's actually correct to treat the small polygon for Bamako as an Admin 1. It is also probably present (or should be anyway) at all the other levels as well. Think of it as a very small Admin 1 that is not subdivided at lower levels. If you still think there is something weird, we can look at the data.

On Thu, Dec 6, 2012 at 10:44 PM, Vincent Perrin notifications@github.comwrote:

http://hxl.humanitarianresponse.info/data/locations/admin/mli/MLI001

It is a level one, but the map displays the city. One have to know in Mali, the main cities give their name to the higher level admin units. It seems that the found geometry is the one of the lowest level location. A query should use the URI instead of the name to find the correct geometry.

— Reply to this email directly or view it on GitHubhttps://github.com/hxl-team/HXL-Browser/issues/15.

vpcom commented 11 years ago

ok, then I got it.

And MLI005 is the large admin unit around it.

Thanks

On Fri, Dec 7, 2012 at 7:15 AM, cjhendrix notifications@github.com wrote:

It's actually correct to treat the small polygon for Bamako as an Admin 1. It is also probably present (or should be anyway) at all the other levels as well. Think of it as a very small Admin 1 that is not subdivided at lower levels. If you still think there is something weird, we can look at the data.

On Thu, Dec 6, 2012 at 10:44 PM, Vincent Perrin notifications@github.comwrote:

http://hxl.humanitarianresponse.info/data/locations/admin/mli/MLI001

It is a level one, but the map displays the city. One have to know in Mali, the main cities give their name to the higher level admin units. It seems that the found geometry is the one of the lowest level location. A query should use the URI instead of the name to find the correct geometry.

— Reply to this email directly or view it on GitHub< https://github.com/hxl-team/HXL-Browser/issues/15>.

— Reply to this email directly or view it on GitHubhttps://github.com/hxl-team/HXL-Browser/issues/15#issuecomment-11120127.