Thanks (as always!) Even for the quick response and good resources.
For posterity, that is osr, not ogr:
in_crs.SetAxisMappingStrategy(osr.OAMS_TRADITIONAL_GIS_ORDER)
It also seems to impacts CRSs imported from WKT and PROJ4, not just from EPSG
as indicated in the release note.
Benjamin
, 80, 0)) # lon, lat
print(transformation.TransformPoint(80, -175, 0)) # lat, lon
Gives :
(inf, inf, inf)
(4983944.437216174, 5754720.297247784, 0.0) # correct
https://epsg.io/transform#s_srs=4326&t_srs=3347&x=-175.000&y=80.000
Regards,
Benjamin Deschamps
Environment and Cl
^
ERROR 1: In ExecuteSQL(): sqlite3_step(SELECT GEOMETRY, POLY_TYPE FROM
cis_SGRDAWA_20190925T1800Z_pl_a WHERE (POLY_TYPE IS "I") AND (CT IS NOT "00")
AND (CT IS NOT "01") AND (CT IS NOT "02")):
Cannot apply attribute filter : POLY_TYPE IS 'I' AND CT IS NOT '02' AND CT IS
NOT '01' AND CT IS NOT '00'
ERROR 1: SQL statement failed, or returned no layer result:
SELECT GEOMETRY, POLY_TYPE FROM cis_SGRDAWA_20190925T1800Z_pl_a WHERE
(POLY_TYPE IS "I") AND (CT IS NOT "00") AND (CT IS NOT "01") AND (CT IS NOT
"02")
Any known issues already reported?
Thanks,
Benjamin
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi Even,
I misinterpreted the symptoms here, and simply replicated the (seemingly
correct) out-of-space error on a different drive while trying to test.
Something else in my code is making gdal.Warp try to write out huge files...
Sorry for the noise.
Benjamin
-Original Message-
From
system C:
drive. Freeing up space on the C solved the issue. Are there any temp files
being created there?
Thanks,
Benjamin Deschamps
Physical Sciences Specialist
Canadian Ice Service, Meteorological Service of Canada
Environment and Climate Change Canada / Government of Canada
benjamin.descha.
... I should have said Geopackage is „not optimal“ in regards to space
efficiency. It‘s still not bad at all when compared to other formats.
Am 07.08.2018 um 23:35 schrieb Benjamin Stadin
mailto:benjamin.sta...@heidelberg-mobil.com>>:
Geopackage is not very space efficient, due
Geopackage is not very space efficient, due to the required compatibility with
the spec and the „ST*“ methods matching their postgres counterparts. Check the
header which is carried over for each geometry:
https://github.com/opengeospatial/geopackage/blob/master/spec/2a_features.adoc
For an exam
return _gdal.wrapper_GDALRasterizeDestName(*args)
RuntimeError: Cannot create X:\localpath\existingfile.tif
I checked that the paths are correctly passed. What else could be the issue?
Thanks,
Benjamin Deschamps
Physical Sciences Specialist
Canadian Ice Service, Meteorologic
space.
If the input and output CRS are very dissimilar you might want to evaluate a
regular grid instead to get a more representative extent.
Benjamin Deschamps
Physical Sciences Specialist
Canadian Ice Service, Meteorological Service of Canada
Environment and Climate Change Canada / Governme
e also space filling curves like the hilbert curve and Google's S2...
https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXXn6Q/view#slide=id.i0
On Tue, Oct 31, 2017 at 8:09 AM, Stadin, Benjamin
mailto:benjamin.sta...@heidelberg-mobil.com>>
wrote:
To me this p
To me this proposal looks too complicated for practical application in it's
current form. I think the surface model (or a "default" model) and related
algorithms should be part of the proposal.
I needed to solve some of the problems they mention for our 3d rendering engine
(store vector data o
t RCM processing scripts. A GDAL driver could
replace a portion of our processing chain down the line, assuming it is able to
calibrate all modes, polarization options and product types.
Benjamin Deschamps
Canadian Ice Service, Meteorological Service of Canada
Environment and Climate Change C
A bit more information:
PROJ4 is 4.8.0 for GDAL 2.1.0; I think GDAL 2.1.3 might be getting the same
version, from the system environment variables.
Machine has 32GB RAM.
Benjamin
From: Even Rouault [mailto:even.roua...@spatialys.com]
Sent: April-21-17 12:29 PM
To: Deschamps, Benjamin (AAFC
ogram to stop working correctly"...
Strangely, it only crashes for some images, while some are OK. I haven't been
able to pinpoint the cause.
I can make the input files available to specific people via Google Drive,
please let me know.
Thanks,
Benjamin Deschamps
Physical Science
Thank you, should have looked a bit further...
Benjamin
-Original Message-
From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Rutger
Sent: January-31-17 6:01 AM
To: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] gdal.Rasterize select output type different than
gdal.Rasterize(dst_path, src_path, options=myoptions)
where the paths are direct file names to a Shapefile and a GeoTiff otput.
Thank you,
Benjamin
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Sorry, I've overlooked it (-with-geos).
Von: gdal-dev
mailto:gdal-dev-boun...@lists.osgeo.org>> on
behalf of Benjamin Stadin
mailto:benjamin.sta...@heidelberg-mobil.com>>
Datum: Freitag, 26. August 2016 um 00:05
An: "gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osg
Hi,
Is it possible to configure GDAL with GEOS, using a prefix path to a specific
GEOS lib?
Cheers
Ben
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Created a ticket here:
https://trac.osgeo.org/gdal/ticket/6594#ticket
First ticket, so hopefully I followed protocol.
Thanks for your help.
On Fri, Jul 15, 2016 at 12:07 PM, Even Rouault
wrote:
> Le vendredi 15 juillet 2016 15:31:09, Benjamin Deschamps a écrit :
> > Hi Even,
&g
2014245LGN00/newname.TIF"
outpath =
"C:/Users/deschampsb/Desktop/test/new/LC80040242014245LGN00_B3_test.TIF"
Is it looking up other files in the directory?
Thanks,
Benjamin
On Thu, Jul 14, 2016 at 4:28 PM, Even Rouault
wrote:
> Benjamin,
>
> >
> > I am seei
2.0.2 with the Python bindings, and GDAL 2.1.0 for the
utilities.
Thanks,
Benjamin
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
adata.tif
ortho_output.tif
Thanks,
Benjamin
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
://github.com/kartotherian/kartotherian-overzoom/blob/master/lib/overzoomer.js
Ben
Von: Stefan Keller
Gesendet: Mittwoch, 3. Februar 2016 18:52:37
An: Blake Thompson
Cc: Stadin, Benjamin; Gdal-Dev; Even Rouault
Betreff: Re: [gdal-dev] Vector Tiles in OGR
nerated geometries (in some cases).
In my opinion, it shouldn’t be considered reliable, or maybe accurate, enough
for general purpose GIS usage other than rendering.
~Ben
Von: Blake Thompson mailto:flippm...@gmail.com>>
Datum: Dienstag, 2. Februar 2016 um 01:03
An: Stefan Keller ma
the issue:
>1. of a generic MVT decoder/enoder library (C++ or Python) => Blake?
>2. and of a "feature provider" in an interactive environment (like
>QGIS) or a file/stream converter (like OGR) => anybody?
>
>:Stefan
>
>
>
>2016-02-02 0:04 GMT+01:00 Stadin,
Hi Stefan,
A vector tile may contain data for several zoom levels. But what data is
shown at which zoom level is defined by the styling, not by the data
itself. It is handled on client side, by the web (or native) tile
renderer.
The path is the same as with mercator tiles (zoomLevel/x/y):
https:
All,
I¹d like to share a few thoughts about the current state of vector tiles.
I believe that, with vector data, there is a chance to get rid of some of
the problems that current mapping tools face in practice, especially in
regards to projections. And this chance should be used in my opinion,
ins
Hi Blake,
There is TileMaker [1]. It implements a MVT writer for v1 only as it
seems, but looks lightweight enough as a good base for a portable library.
Ben
[1]
https://github.com/systemed/tilemaker/blob/master/src/write_geometry.cpp
Am 01.02.16, 18:27 schrieb "gdal-dev on behalf of Flippmok
I’ve commented on the MBTiles discussion [1] and suggested to make a change
towards GeoPackage. There are in my opinion some reasons why it should rather
be avoided to implement something towards MapBox’ current Tile spec or MBTiles,
or any of the current vector tile formats in general:
* I
Hi,
We are working on a data processing pipeline which has a DXF import filter
(read-only).
The documentation for the dxf driver says:
"OGR supports reading most versions of AutoCAD DXF and writing AutoCAD
2000 version files."
I consider to use Teigha file converter to convert between various D
gt;
> On 08/16/2012 03:09 PM, Even Rouault wrote:
>> Selon Benjamin <benjamin.lux@>:
>>
>> > For example, with JTS (Java Topologie Suite) we can obtain an interior
>> point (0.5 2.5).
>> Do you know the name of the JTS method ? It might also exist in GEOS, t
hin the polygon.
_
| ___|
| |___
|_|
(ASCII fan-art \o/)
For example, with JTS (Java Topologie Suite) we can obtain an interior point
(0.5 2.5).
Thanks in advance for any reply.
Best regards,
Benjamin.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-Is-
dGeometryDirectly() ?
This 2 methods aren't in the OGR API
(http://www.gdal.org/ogr/classOGRGeometry.html) but in my C# wrapper.
Best regards,
Benjamin
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-remove-multiples-Polygones-of-a-Multipolygone-tp499
on is built on the GEOS library, check it for the
definition of the geometry operation."
But in the Geos webs pages, I didn't find the PreserveTopology version.
http://geos.osgeo.org/doxygen/functions_0x73.html#index_s
Best regards,
Benjamin.
Even Rouault wrote
>
> Selon B
.9.1\swig\include\csharp") and, in fact, I didn't see the Geometry
childs classes.
Is it an ogr or a geos issue ?
Anyone know a C# wraper of Ogr that include these classes ?
Best regards,
Benjamin.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/gdal-
")
I don't know if it is as efficient as a SELECT statment, but it work fine !
Thank to all your answers !
Best regards,
Benjamin.
Benjamin wrote
>
> If you want I can remove the MemoryDriver, but it is still the same thing.
>
> [code]
> string request =
layer.getNextFeature(), there are numerous
request with the 2nd way ?
Links :
http://www.gdal.org/ogr/classOGRDataSource.html#aa6acc228db6513784a56ce12334a8c33
http://www.gdal.org/ogr/classOGRLayer.html#acb2c6cc5fa3577df5be538284c1b0dde
Best regards,
Benjamin.
--
View this message in context:
t column_geo1, column_geo2
From Table1, Table2"
Unless I am wrong, you can't have 2 geometrics fields in a layer.
For me this result is normal (but I am a beginner with ogr so maybe not).
Reminder : I just want fetch my geometry.
In any cases, thank for all you reply Chaitanya_ch.
Benjamin
html
<http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-ExecuteSQL-with-MSSQL-and-geometry-column-tp4988831.html>
Best regards,
Benjamin
De : Chaitanya kumar CH [mailto:chaitanya...@gmail.com]
Envoyé : mercredi 18 juillet 2012 16:53
À : Benjamin LUX
Cc : gdal dev
Objet : Re: Ogr: Exe
r an other trick to have a
geometry in my memLayer or serverLayer I heard you with interest !
Sorry for my spelling, English isn't my native tongue language.
Benjamin
Ps : link to the thread:
http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-ExecuteSQL-with-MSSQL-and-geometry-column-tp49
"You can access the geometry like with any other ogr feature."
Yes, it's right. But how string are encoded with Ogr ?
Because I have to write :
[code]
byte[] memWkb =
System.Text.Encoding.UTF8.GetBytes(memFeature.GetFieldAsString("WKB_GEOMETRY"));
Geometry memGeom = Geometry.CreateFromWkb(memWkb)
mn() returns "" and serverLayer.GetGeomType()
returns "wkbUnknown".
And the layer serverLayer ( or a layer provide by a Memory Driver) have any
method "ChoseGeometryField" or "SetGeometryColumn" (or I have missed it).
If I call serverDataSource.GetLayerByName(&
Is the geometry_columns table mandatory ?
Because I have not such table.
This table is not in the spatial standard, isn't it ?
Ogr need to acces it ?
If yes, I think I will have to create it.
Thx for the clue,
Benjamin.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com
(with MSSQL Driver)
link usefull : http://www.gdal.org/ogr/drv_mssqlspatial.html MSSQLSpatial -
Microsoft SQL Server Spatial Database
Best regards,
Benjamin.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/gdal-dev-Ogr-to-access-MSSQL-DB-tp4987592.html
Hey Matt,
If i remember correctly osgeo4w is 32bit (its been a while since iv
looked at the osgeo4w binaries however so i may be incorrect). If they
are 32bit and you are setting -wm to 2048 (2GB) you might be having
memory limitation issues (which i believe 2GB virtual memory for x86
exe
ailable ArcGIS components.
>>> import win32com.client
>>> arcobj = win32com.client.Dipath("< What should goes here ? >")
It is only a wild guess, I am not even running Windows now to do a
quick test, but I hope it would help you.
Ivan
Benjamin Welton wrote:
Can you d
Can you do that with ArcGIS 9.3? i was under the impression from the
doc's/forums that it's only available in the arcpy package in 10.
Ben
On 9/4/2010 5:44 PM, Paolo Corti wrote:
Im wondering if there is any way to read MXD files in ether gdal or some
other python based extension. I'm n
Hey All,
Im wondering if there is any way to read MXD files in ether gdal or
some other python based extension. I'm not looking for the raster data
for the files only the filename/SDE name of the layer and the name of
the layer in the MXD file. Is there any easy way to pull this
informat
Message-
From: Frank Warmerdam [mailto:warmer...@pobox.com]
Sent: Tuesday, August 17, 2010 9:11 PM
To: Garrett, Benjamin D
Cc: 'gdal-dev@lists.osgeo.org'
Subject: EXTERNAL: Re: [gdal-dev] retrieve specific tiff tags
Garrett, Benjamin D wrote:
> Hi,
>
>
>
> I would like to
Hi,
I would like to be able to retrieve the value of this tiff tag:
34737GeoAsciiParams
from a geotiff file. How do I do this using GDAL? I've searched the FAQ, the
mailing list via google, this page: http://www.gdal.org/frmt_gtiff.html , etc.
When I dump the metadata for
my code to see if it works in the next day
or so.
Thanks for the response,
Ben
Frank Warmerdam wrote:
Benjamin Welton wrote:
Hey all,
Im wondering if its possible to set the band names that appear in
the ENVI header file instead of having the default band 1, band
2, (which looks ki
Hey all,
Im wondering if its possible to set the band names that appear in
the ENVI header file instead of having the default band 1, band 2,
(which looks kinda messy)
Thanks
Ben
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists
Hey,
Iv got a question on whether or not its possible to read a single
pixel value from multiple bands using one GDAL call in python? The file
working with is an ENVI BIP file that has a large number of bands
(around 1000) and im looking for a way to reduce the python overhead by
only maki
1.3.39 produces code that does not compile on x64 Windows (at least with MSVC).
See: http://trac.osgeo.org/gdal/ticket/2928. The ticket mentions c# bindings
but the same is true for the Java bindings. Rolling back to 1.3.38 fixes the
problem.
--
Ben
> -Original Message-
> From: gd
When doing ./configure are you adding the proper flag for the hdf
version you plan to use (--with-hdf4 and --with-hdf5)? Also have you
tried setting the locations of the library's by doing
--with-hdf4=?
Ben
Mateusz Loskot wrote:
Olivier Pilotte wrote:
I'm unable to configure gdal to supp
Hey all,
Im having a bit of an issue using the python gdal api's. I keep getting an
error in python saying that it is unable to find libgdal.so.1. I am not having
any issues using the various gdal binaries however (gdalinfo works). i looked
at PYPI and changed the gdal-config location set
"real"
radarsat-2 image... I don't understand how the data can be used in
integer format (-1,0,1).
Benjamin
On 18-Mar-09, at 4:06 PM, Philippe Vachon wrote:
Hi Ben,
I can't recall the exact details of how the GRASS r.in.gdal mechanism
works, but the results you describe
I'm having a few issues importing RADARSAT-2 data to GRASS. I used:
r.in.gdal
input=RADARSAT_2_CALIB:SIGMA0:/Users/Benjamin/Desktop/PK6621_DK406_FQ9_20080405_124900_HH_VV_HV_VH_SLC_(Altona_Promo)/product.xml
output=altona
to import the sigma nought calibrated data. For some reason this
If one native library (DLL) loads another, the "java.library.path" variable
will not be honored, since it's not Java doing the load, but the OS trying to
resolve the dependencies for the DLL. As Daniele suggested, Dependency Walker
is a great tool for finding out the relationships between libra
Steve,
My initial tests on win32 indicate that yes, MrSID DSDK v7 does work with GDAL
(1.5) with no source mods. My test image was RGB 3-band unsigned short.
The locations of the header files has changed, though, so a windows build
should now have this more simple option in the nmake.opt:
MRSI
Warmerdam <[EMAIL PROTECTED]>
Date: Wednesday, November 26, 2008 9:31 pm
Subject: Re: [gdal-dev] Need help converting a geotiff file to jpg/tiff/bmp
> Benjamin Welton wrote:
> > Hello everyone,
> >
> > Im quite new to using GDAL and what i would like to do is convert
> a
Hello everyone,
Im quite new to using GDAL and what i would like to do is convert a
geotiff file to a standard jpeg/tiff/bmp image file so that it can be
viewed by any standard image reading software (ideally i would like to
be able to display said image using wxPython) . Every time i try to
62 matches
Mail list logo