Hello everyone,
When converting an .osm file to .shp files with ogr2ogr.exe, one needs to
define a list of required fields in gdal-data\osmconf.ini file.
I defined today a total of 338 field names, and the ogr2ogr.exe succeeded
successfully in converting the .osm file to a .shp file containing a
think this
build is not available by GISInternals. Try our (NextGIS) own build of GDAL
from here: http://nextgis.com/borsch/
Best regards,
Dmitry 15.12.16 3:04, Djordje Spasic пишет:
I am wondering if it is possible to perform the shortest path or network
analysis in Windows version of
I am wondering if it is possible to perform the shortest path or network
analysis in Windows version of GDAL?
I googled and found gnmanalyse page on GDAL website, which seems to be able to
do that:
http://www.gdal.org/gnmanalyse.html
But is this gnmanalyse functionality available only through GD
which already exist in the .osm file, be extracted?
Thank you for the reply.
Kind regards,
Djordje Spasic
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi Jukka,
Thank you again for the explanation and information about GDAL history!!
> If I understand right you consider that instead of having now in the
> multipolygon layer relation_id as osm_id and way_id as osm_way_id it would be
> better to have way_id as osm_id and relation_id as osm_rel
sort of a bug?
Thank you for the reply.
Kind regards,
Djordje Spasic
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
stall osgeo4w.Yes you
can set the osmconf.ini or directly use the goal ogr api to write the output
file.
On 19 Nov 2016 18:00, "Djordje Spasic" wrote:
Thank you for the quick reply Etienne!
I am stuck with ogr2ogr.exe, or GDAL C# libraries. I can not use QGIS or other
applications.
Indeed Ev
During the last couple of days, both Jukka and Even helped me with some .osm
file issues. And I am grateful on that.
I would like to ask one more question, if that's ok:
Is it possible to open an .osm file through ogr2ogr.exe and somehow read all
the fields (keys) used in that .osm file? The fin
Thank you for the useful reply Jukka!
The command you gave me:
ogr2ogr -f PostgreSQL "PG:dbname=osm" test.pbf -lco
COLUMN_TYPES=all_tags=hstore
does the same thing as "all_tags=yes" in the osmconf.ini file:
# uncomment to create "all_tags" field. "all_tags" and "other_tags" are
exclusive
all_ta
Thank you for the reply Jukka.
Neither "building:levels" nor "height" fields were located in osmconf.ini under
the "[multipolygons]".
I have just added them as you suggested, and now the previously mentioned
command creates the .shp file without raising an error.I tried the initial:
-dialect sq
Hi Jukka,
I have just tried to rename the fields with SQL. Here is the syntax:
"C:\gdal\ogr2ogr.exe" --config OSM_USE_CUSTOM_INDEXING NO -skipfailures -f
"ESRI Shapefile" -dialect sqlite -sql "select geometry, building as bldg,
'building:levels' as bldg_level, height as height from multipolygon
e that by default it is selected only for multipolygons. However, I suppose
that in the native OSM data the building tag is sometimes used also on points
and relations (other_relations for GDAL). I also aimed at a general answer that
could be useful for all tags and layers in OSM data. -Jukka Rah
layers in OSM data. -Jukka Rahkonen-
Lähettäjä: Djordje Spasic [mailto:issworld2...@yahoo.com]
Lähetetty: 11. marraskuuta 2016 16:38
Vastaanottaja: Rahkonen Jukka (MML) ;
gdal-dev@lists.osgeo.org
Aihe: Re: [gdal-dev] How to replace an osm key? Thank you for the reply
Jukka.
> and
Kohles, Eem...@jasonkohles.come
=head1 COPYRIGHT AND LICENSE
Copyright 2002,2003 by Jason Kohles
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
On 1/11/2016 7:54 AM, gdal-dev-requ...@lists.osgeo.org wrote:
> Date: Mon, 1
on to help, though.
Kind regards,
Djordje Spasic
From: Mike Flannigan
To: gdal-dev@lists.osgeo.org
Cc: issworld2...@yahoo.com
Sent: Monday, January 11, 2016 3:11 AM
Subject: Re: [gdal-dev] Reading the points from shp file
I can't help with the ironpython problem you are
having, but
A_ReadOnly
dataSet = gdalcsharp.Gdal.Open("c:/gdal/elevations.asc", readOnlyAccess)
But at the last line, an exception arise:
The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
What is the problem? Am I defining the Access incorrectly?Thank you in advance.
" functionalities. Are they available through
gdal_csharp.dll?
I would be very grateful for any help.
Thank you in advance,
Kind regards,
Djordje Spasic
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hello to GDAL community,
Lately I have been trying to use the SRTM 3 arc second elevation data in a form
of ASCII grid (.asc file) downloaded freely from opentopography.org.
The problem is that, decimal degrees for .asc files downloaded from
opentopography.org are unprojected.
I have been told
18 matches
Mail list logo