Страница 1 из 1
					
				Конвертация из shape в OSM с переназначением полей в ogr2osm
				Добавлено: 22 май 2010, 23:01
				 updates-bot
				Обсуждение статьи 
"Конвертация из формата shape в OSM XML с переназначением полей с помощью ogr2osm"
 
 http://gis-lab.info/qa/ogr2osm.html 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 06 май 2012, 06:33
				 nutchichi
				I try to convert with python but it error no module named ogr. help me plese. 
thanks
			 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 06 май 2012, 09:46
				 Максим Дубинин
				if you're under Windows, install 
OSGeo4W and run from OSGeo4W shell.
 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 08 май 2012, 10:16
				 nutchichi
				help me to convert this file ----> 
http://www.4shared.com/rar/uAsqpqWU/test_utm.html <--- to osm file
and then teach me about convert step by step .  
 
 
For example follow to this topic :Конвертация из shape в OSM с переназначением полей в ogr2osm .
thank you so much
 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 08 май 2012, 10:30
				 Александр Мурый
				nutchichi, can you put your file to another file hosting?
			 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 08 май 2012, 10:40
				 nutchichi
				http://www.mediafire.com/?fbc1dq2pq9ncn83 <------------- new file host ^^ that ok.
Please pm to me . if you complete convert.
thanks
 
			 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 08 май 2012, 11:18
				 Александр Мурый
				Output OSM:
I downloaded <SimpleXMLWriter.py> and <ogr2osm.py> from 
here, made them executable and run command:
 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr
				Добавлено: 08 май 2012, 11:53
				 nutchichi
				I got new_out.osm and I try convert .osm to .obf with OsmAndMapCreator not complete for deploy on Android Tablet Mapoffline.
error message on OsmAndMapCreator.jar---> java.lang.IllegalStateException:java.SQLException: columns id, ord are not unique.
please help me convert
thank you so much
			 
			
					
				Re: Конвертация из shape в OSM с переназначением полей в ogr2osm
				Добавлено: 26 ноя 2019, 12:47
				 Disabledg
				Что может вызывать ошибку AttributeError: 'NoneType' object has no attribute 'Transform' ? Часть шейпов конвертируются нормально ( площадные и линейные ) а один шейп ( площадной ) уходит в такую ошибку при попытке конвертации.