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

Hi everybody, I need some help! I have a database in postgis with a lot of points about important places of my city. How can I import this data to OpenStreet? Do I use a .CSV file? How many fields can I get in the archive? Can I create new datatypes, like 'culture's houses'? Thanks Fred

asked 02 May '11, 23:40

FredSoares's gravatar image

FredSoares
151225
accept rate: 0%

edited 29 Aug '13, 11:30

MagicFab's gravatar image

MagicFab
935101622


15

There are a couple of questions that you should answer before thinking about the technical aspect of the import:

  1. Am I allowed to use the data and publish it under CC-BY-SA as well as under ODbL?
  2. Is the data set accurate and useful?
  3. Does the local community want the import
  4. Do I have the technical abilities to cleanly conduct the import?
  5. Does the data set conflict with existing data in OpenStreetMap?

The first four question determine if you should import the data at all and the fifth one has a large influence on the way to do it.

About the import itself there are many way, some of which I'll give here, roughly ordered by amount of manual work:

  • Tracing from custom images uses as background
  • Creating XML and manually copying from one layer to another in JOSM
  • Creating XML and automatically merge with exisiting data, check with JOSM and upload
  • Custom upload script

Please get clear answers to the questions listed above, especially #1 and #3 before proceeding with any import to OpenStreetMap. OpenStreetMap is not a dataset dumping ground nor an aerial tracing project but an outdoor activity.

permanent link

answered 03 May '11, 05:40

petschge's gravatar image

petschge
8.3k217398
accept rate: 21%

5

Before doing any imports, one should also carefully read the import guidelines on the wiki ( http://wiki.openstreetmap.org/wiki/Import/Guidelines )

Imports can be a valuable source for improving the data in openstreetmap, but as with any mass edits, it also has a big potential to cause problems. This is why you will see many caution statements when discussing imports. Possibly the most important aspect is to make sure to discuss the import and technical details of the import beforehand. This allows people to give you "best practice" tips of how to do the import well.

(03 May '11, 16:42) apmon

petschge, I'm a newbie in the OSM and do not want to disrespect the work of committed people here. I think that your questions are very important, to elevate the discussion about the OSM. To agregate the discussion It is important to answer your questions. I'm Geographer and the data that I want publicate came from my master's degree work. So there are no problems with the license or with the acuracy. Its is very important to our comunity to publicate those informations and a few persons have the hability to do this. About my technical abilities, I will need study these importation. I choice OSM just because I believe in your proposition. Sorry my english not is good, Thanks for your answer.

(03 May '11, 21:59) FredSoares

I'm very glad that there are good and clear answers to the questions I posed. If you add a comment to your question containing information about the format the data is currently in we can help you with the technical side of the import.

(03 May '11, 22:04) petschge
2

Thanks apmon and ptschge. I'm very happy with your answers. ptschge, thanks a lot for offering to help in the import process. I have a DB postgis whith SRID 4326. I want import two 'views' with the same datatype: POINT. Encoding UTF8 Below the description of views.

First one is about the places who the local community gathers to do culture, its is very dificult translate this. See more on Youtube 'Cartografia da Cultura Candanga'

View name: entidades_culturais.

columns: id (integer), name (character varying 255), adress (character varying 255), activity (text), contacts (character varying 255), midia (contain youtube's url (character varying 255)) the_geom.

The second view contains the position and description about all public equipament's cultural of city - museums, theatres, libraries, cinemas and places to music shows.

View name: equipamentos_culturais

columns: id (integer), name (character varying 255), type (This column describes the kind of place, it have five kinds: museum, theatres... - (character varying 255)), adress (character varying 255), contacts (character varying 255), the_geom.

I hope that was the information that you asked for. How we can import those data? Do we use a .CSV file? Sorry again, my english not is good. Thanks

(05 May '11, 02:20) FredSoares
1

Fred, it's great that you're enthusiastic about contributing to OpenStreetMap, but you really should not be considering an import any time soon. You have much to learn about OSM before you can make such a large edit.

Your description of columns, views and the like has no relevance to OSM. OSM's data structure does not work anything like that. You certainly cannot use a CSV file.

More seriously, the challenge with imports is not primarily technical, but a community challenge. You need to talk to local mappers and check that they are happy.

I suggest that you sign up to your local mailing list (see http://lists.openstreetmap.org/listinfo for a full list) and talk to the existing mappers in the country. Some of them might have technical expertise and be able to carry out the import, if they consider it desirable, in an effective way. You should also sign up to the dedicated imports mailing list.

(05 May '11, 12:43) Richard ♦

We're talking about here, right? Currently the OSM map has the town/suburb label, but no streets (or anything else). Whilst it's useful to know where individual points of interest are on the map, it's useful to know that in the context of where everything else is, in particular streets - I'm not convinced that a scatter of "Cultural Places" on an otherwise completely empty map would be of much use to anyone.

If however you have any GPS traces collected when going around Candangolândia, then it'd be really useful to upload those to OSM. Even if you're not going to do anything with them yourself, having on-the-ground GPS traces helps people adding features from aerial photos (e.g. the Bing layer) to work around any offset that there might be between aerial photos and what's actually on the ground. The suburb to the northwest (Guara) looks like it's been traced from aerial photos (there are no street names), so perhaps whoever did that might want to have a go at Candangolândia too? Try sending a mail to the talk-br list or mailing them via the OSM website.

In addition to GPS traces you might have other useful information (such as street names or other "non-cultural place" points of interest) for Candangolândia - it would be useful to make that available who's interested in mapping Candangolândia (preferably on the ground, but also remotely).

permanent link

answered 05 May '11, 17:22

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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:

×196
×181
×134

question asked: 02 May '11, 23:40

question was seen: 13,379 times

last updated: 15 Jan '14, 13:28

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