Originally posted by DoctorStrangelove
					
						
						
							
							
							
							
								
								
								
								
									View Post
								
							
						
					
				
				
			
		 
							
						
 
							
						ogr2ogr -f GeoJSON rutland.json "PG:host=<database server> dbname=<database name> user=<user> password=<password>" \ -sql "select way, name from planet_osm_polygon where name='<administrative area I want the boundary and name of in the output, e.g. Rutland>'"
 
 
ogr2ogr -f GeoJSON rutland.json "PG:host=<database server> dbname=<database name> user=<user> password=<password>" \
  -sql "select st_transform(way, 4326), name from planet_osm_polygon where name='<administrative area I want the boundary and name of in the output, e.g. Rutland>'"
 
							
						

 
  :
: <- manly
 <- manly 
							
						

 
							
						

 
							
						

Comment