There are C# bindings for GDAL: https://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp
Examples are at https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps
You may also find Nuget packages, however I haven' tried that.
Brad
-Original Message-
From: gdal-dev On Behalf Of Athin
Sent:
Hai Ivan,
Yeah I will take the C++ tutorials/exercise. But I need to try a bit the
Gdal capability. I just want to try it first hand by follow the tutorial,
but it seem there is not many example that allow to see the running of
complete code. Did you have any GDAL sample that can share with me?
T
Hai Bradh,
Sorry I not use to C++, I only familiar with C#. I need to use C++ because
Gdal support it and i need to combine it to the Visual Studio C# (Wpf).
Thank you and best regards.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
___
Hi all,
Upgrading to Fiona 1.8.0 won't help the code below because every
outfile.write() call entails a transaction of size 1. The user needs to
pass a sequence or iterator of many records to outfile.writerecords() if
they want to benefit from larger transactions.
On Thu, Nov 1, 2018 at 3:46 AM E
I'm writing file using class ShapeConverter(osmium.SimpleHandler) and ogr
(not fiona)
But, do not know whether transaction are all written instantaneously and
simultaneously or not...
On Thu, Nov 1, 2018 at 8:34 PM koji higuchi wrote:
> Hi Andreas
> I'm writing to a file into my PC disk.
>
> O
Hi Andreas
I'm writing to a file into my PC disk.
On Thu, Nov 1, 2018 at 8:32 PM Andreas Neumann wrote:
> Hi,
>
> Just a quick stupid question: are you writing to a local file system or to
> a network filesystem. The latter can be substantially slower than the
> former, esp. with Geopackage.
>
koji higuchi wrote
> Hi Even
> I managed to write gpkg without ogr without fiona using class
> ShapeConverter(osmium.SimpleHandler).
> still, speed seems slow.
> Any idea to increase it up.
Hi,
Have you realised the importance of making big transactions? You can read
background information from h
Hi,
Just a quick stupid question: are you writing to a local file system or
to a network filesystem. The latter can be substantially slower than the
former, esp. with Geopackage.
Andreas
Am 01.11.18 um 12:10 schrieb koji higuchi:
Hi Even
I managed to write gpkg without ogr without fiona usi
Hi Even
I managed to write gpkg without ogr without fiona using class
ShapeConverter(osmium.SimpleHandler).
still, speed seems slow.
Any idea to increase it up.
On Thu, Nov 1, 2018 at 7:05 PM koji higuchi wrote:
> Hi Even
>
> I am trying to replace using fiona by pure ogr.
> but having difficult
The problem below is nothing to do with GDAL, you just need to initialise the
variable (probably by some kind of command line argument - argv[1] if nothing
else). If that doesn't make sense, is there another programming language that
you are more comfortable with?
Brad
-Original Message---
Athin,
If this is your target, GDAL might not be the right choice for you.
My target just know want to try to display raster map, but i still stuck in
this starting point. The code I run below will display an error
The GDAL API doesn't support display capabilities. If you go ahead an
Hi,
Unfortunately I have never used osmium-extract myself but I was remembering
that I had been reading something about doing spatial selection from OSM
pbf. I did even find the thread
https://lists.openstreetmap.org/pipermail/dev/2018-October/030400.html
-Jukka-
koji higuchi wrote
> Hi Jukka
Hi Jukka
Is osmium-extract available in pyosmium?
i'm using windows; and seems difficult to use osmium in windows
On Thu, Nov 1, 2018 at 7:13 PM jratike80 <
jukka.rahko...@maanmittauslaitos.fi> wrote:
> Hi,
>
> That is probably another problem, OSM pbf format does not support effective
> selecti
Hi,
That is probably another problem, OSM pbf format does not support effective
selection by region so selecting a subarea from europe-latest.osm.pbf may be
almost as slow as processing the whole dataset. I would try if
osmium-extract https://docs.osmcode.org/osmium/latest/osmium-extract.html
coul
Hi Even
I am trying to replace using fiona by pure ogr.
but having difficult to collapse the code with class and objects.
If i could extract geom and tags in a ogr pythonic way, then it be better
On Thu, Nov 1, 2018 at 6:45 PM Even Rouault
wrote:
> You are perhaps using a too old version of Fi
Hi, my source file is too big, around 19gb (europe-latest.osm.pbf)
I also tried ogr2ogr for clipping into region as follows.
ogr2ogr -f, gpkg, -clipdst, str(ulx), str(lry), str(lrx), str(uly), fo, fi
but it was also very slow.
On Thu, Nov 1, 2018 at 6:55 PM jratike80 <
jukka.rahko...@maanmittau
koji higuchi wrote
> Hi, following is the code I used:
>
> Import os, osmium, fiona
>
> fi = 'europe-latest.osm.pbf'
> fo = 'europe-latest.dpkg'
>
> drv = 'DPKG'
Hi,
I am not able to evaluate if your code is effective or not. However, I can
give you some numbers for comparison.
Test data http
You are perhaps using a too old version of Fiona. Recent versions insert
features within OGR transactions. Should be fine with latest Fiona 1.8.0
See https://github.com/Toblerity/Fiona/issues/476
> Hi, following is the code I used:
>
> Import os, osmium, fiona
>
> fi = 'europe-latest.osm.pbf'
>
Hai All,
My target just know want to try to display raster map, but i still stuck in
this starting point. The code I run below will display an error
error c4700 uninitialized local variable 'pszFilename' used
can someone help me regarding this and what i need to with the file i
download from th
Hi, following is the code I used:
Import os, osmium, fiona
fi = 'europe-latest.osm.pbf'
fo = 'europe-latest.dpkg'
drv = 'DPKG'
crs = {'no_defs': True, 'ellps': 'WGS84', 'datum': 'WGS84', 'proj':
'longlat'}
schema = {'geometry': 'LineString',
'properties': {'id': 'float', 'n
koji higuchi wrote
> Hi
> I am extracting .osm.pbf file into .gpkg; but the writing rate is very
> slow.
> When I write into .shp, rate is faster but its limit is 4gb.
> So, what other format is better for larger than 4gb requirement?
> Thanks for your ideas.
> Koji
Hi,
Show the exact command tha
21 matches
Mail list logo