NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi there.

I have a list of city boundaries and I would like to classify them as the city name - and whenever a latlong is in that boundary it should state that the coordinates are in the city? On .net preferably?

Thanks.

asked 04 Jul '11, 11:02

bulleh's gravatar image

bulleh
14222
accept rate: 0%

2

This question is a bit hard to understand. Can you edit it to explain you what in a little more detail and (if possible) with a little more attention to grammar? If English isn't your first language, you may want to post it in your native language as well, and we have other forums for German, French, etc. speakers.

(04 Jul '11, 14:01) emacsen

If I am understanding your question, and you do a search of questions and answers with Boundaries in it may help you.Questions such as "How can I find and modify a boundary?"... "boundary-data-and-postcodes-for-areas-and-towns-"... and "town-boundaries" hope this is some help

permanent link

answered 05 Jul '11, 07:28

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

If I understand you right you want to match polygons from a list of city boundaries with OSM data to get the names of the boundaries. You could do this with a postgresql database and spatial functions. There are different tools available to get OSM data into a postgres db, search the wiki for osmosis, osm2pgsql, imposm and postgresql.

permanent link

answered 06 Jul '11, 02:23

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1

question asked: 04 Jul '11, 11:02

question was seen: 3,283 times

last updated: 06 Jul '11, 02:23

Related questions

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum