Re: [gdal-dev] Add a style to a Geojson Layer

2013-03-28 Thread Thomas Gratier
Hello, It seems you're not aware Geosjon is not KML, there is no mix between styles and data, it's only data. Read the specification http://www.geojson.org/geojson-spec.html Regards ThomasG ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://list

Re: [gdal-dev] Apply a style to geojson

2013-03-28 Thread Thomas Gratier
Hello, You'd better ask on http://gis.stackexchange.com/ because the list you're using now is dedicated to GDAL developpers not for all purpose GIS questions. Regards ThomasG ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mai

Re: [gdal-dev] [mapserver-dev] Wrong .prj file with SHAPEZIP Outputformat

2013-05-16 Thread Thomas Gratier
Hello, Just a guess: the Mapserver projection file comes maybe from GEOS and GDAL retrieve the wrong proj (deduce from the mapfile) after (although with your analysis it doesn't seem so) >> http://mapserver.org/faq.html#where-do-i-find-my-epsg-code Regards Thomas Gratier 2013/5/1

[gdal-dev] Problem to compile in Lucid with Spatialite 3.0 and gdal 1.9

2012-01-23 Thread Thomas Gratier
Hello all, I've done some tests to build gdal 1.9.0 in Ubuntu 10.04 (Lucid) I've build proj 3.3.2, Sqlite 3.3.10, Free XL 1.0.0b, libspatialite amalgation 3.0.0, spatialite-tools 3.0.0 No problem with sqlite alone. # My main problem is when I co

Re: [gdal-dev] Problem to compile in Lucid with Spatialite 3.0 and gdal 1.9

2012-01-24 Thread Thomas Gratier
Hello, Even, concerning the sqlite, it was a mistake from me when writing. The version was the 3.7.10 (and not the 3.3.10) It was done to check if a more recent of sqlite3 could solve my problem. At the end, the choosen solution I've done was the one recommended by Sandro I've reverted sqlite to

[gdal-dev] urn and geojson

2012-08-05 Thread Thomas Gratier
Hello, I'm playing around with geojson and I haven't found any clue on the doc e.g http://www.gdal.org/ogr/drv_geojson.html about including urn in geojson output. I think it can be useful for sharing geojson and without urn, finding projection isn't really possible. Does I miss the feature? There

Re: [gdal-dev] Revealing /vsi*/ for users

2012-09-09 Thread Thomas Gratier
Hello Jukka, I agree with you You can also have a look on another gems : Even contribution to python scripts http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/gdal_ls.py More easy to manipulate than original command line for listing zip content When you do ogrinfo -ro -al -so /vsizip/vsicu

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Thomas Gratier
Hi, First, be sure to "pip3 install -U pip" to get latest pip as got some issues with wheels build because was using outdated pip. In https://pypi.org/project/GDAL/, there is a mention that gdal python bindings have dependencies e.g * libgdal (3.2.2 or greater) and header files (gdal-devel) * nu

Re: [gdal-dev] Installing the latest GDAL version on ubuntu 20.04

2021-03-18 Thread Thomas Gratier
Hi, Did you try the following? sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update Not sure what you tried Regards Thomas Le jeu. 18 mars 2021 à 17:05, Adzorv1 a écrit : > Thanks for the reply, > > Unfortunately when i try to add ubutugis, i always get the same me

[gdal-dev] Options of gdalwarp not all exposed in the GDAL Python gdal.Warp ?

2021-05-31 Thread Thomas Gratier
o intended API choices or other reasons. I also only discuss here the gdal.Warp options but I suppose there are maybe other Python tools ported from RFC 59 https://gdal.org/development/rfc/rfc59_utilities_as_a_library.html that may have the same "unsync" issue. Did not look at the moment

[gdal-dev] Any way to get an autocompletion for ogr/gdal utilities?

2022-02-02 Thread Thomas Gratier
e it to get something similar to git command where there is a script to add autocompletion? Regards Thomas Gratier ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Any way to get an autocompletion for ogr/gdal utilities?

2022-02-04 Thread Thomas Gratier
utocompletion with conda although I tried with the latest version 3.4.1. I think I will open an issue at https://github.com/conda-forge/gdal-feedstock/ Regards Thomas Gratier Le jeu. 3 févr. 2022 à 11:02, Markus Neteler a écrit : > Hi Thomas, > > On Wed, Feb 2, 2022 at 11:59 PM Thomas

[gdal-dev] Adding OSGEO4W and gisinternals docs in install doc?

2022-02-17 Thread Thomas Gratier
://www.gisinternals.com/index.html Opinions? If ok, I will do a PR later on the github repo Regards Thomas Gratier ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Good morning all and question: Good Python GDAL beginner tutorial?

2022-02-23 Thread Thomas Gratier
Hi, You may look on the book side at https://www.manning.com/books/geoprocessing-with-python Regards Thomas Gratier Le lun. 21 févr. 2022 à 16:40, Alan Snow a écrit : > These are also some good resources for GDAL Python: > >- https://carpentries-incubator.github.io/geospati

Re: [gdal-dev] python - convert CSV of point coordinates to geopackage

2022-06-17 Thread Thomas Gratier
Hi, One possible approach using only GDAL https://gist.github.com/ThomasG77/1c76c8fd4f6ee08d9da88dfdb911cfcb It can be also made with higher level abstraction package like geopandas or fiona like mentioned by Alan (also in the same link) Regards Thomas Gratier PS: not sure I've cod

Re: [gdal-dev] Utilisation de Planetary Computer

2022-09-30 Thread Thomas Gratier
= gdal.Open( red_href ) use red_href = f"/vsicurl/{planetary_computer.sign(item).assets["B04"].href }&pc_url_signing=yes&pc_collection=sentinel-2-l2a" cogtif = gdal.Open( red_href ) Regards Thomas Gratier Le mer. 28 sept. 2022 à 10:12, Loïc Lozac'h a écrit :

Re: [gdal-dev] Bug/feature: OGR VSICURL does not handle gzip compression

2022-11-10 Thread Thomas Gratier
affic-messages/simple?inactiveHours=0&includeAreaGeometry=false&situationType=TRAFFIC_ANNOUNCEMENT"; OGRGeoJSON Regards Thomas Gratier ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Difference between ogr2ogr and Python reprojection

2023-03-17 Thread Thomas Gratier
'-f GeoJSON -s_srs "+proj=stere +lat_0=90 +lat_ts=60 +lon_0=264 +x_0=0 +y_0=0 +R=6371229 +units=m +no_defs" -t_srs EPSG:4326' ) Regards Thomas Gratier Le mar. 14 mars 2023 à 19:27, Scott a écrit : > While I don't have a direct answer to your question I might ask, why

[gdal-dev] (no subject)

2010-05-01 Thread Thomas Gratier
Hello, First time I come to this list. I have a problem using FwTools 2.4.7 with VRT and CSV I want to transform french geonames file to PostgreSQL with the geometry build What I do to get this issue ? Creation of a VRT called geonames.vrt containing

[gdal-dev] VRT, CSV and geonames database import

2010-05-01 Thread Thomas Gratier
In the previous post, I forget the title so the same post with the title, sorry... Hello, First time I come to this list. I have a problem using FwTools 2.4.7 with VRT and CSV I want to transform french geonames file to PostgreSQL with the geometry build What I do to get this issue ? Creation

Re: [gdal-dev] What do people think of the MySQL Spatial Extensions?

2010-05-27 Thread Thomas Gratier
Hello, For the moment, only need Postgis but there some docs for comparison of spatial functions with mysql, oracle and spatialite. Some years ago, http://cct.cnes.fr/cct05/public/2007/documents/Etude_comp_bases_donnees_spatialisees/rapport_etude_spatiale_final.pdf This year, http://www.rencontr

Re: [gdal-dev] what does "Ring Self-intersection at or near point" really mean ?

2010-11-17 Thread Thomas Gratier
Hello, I suppose it's similar to Postgis I know better. See this old post http://www.davidgis.fr/blog/index.php?2007/05/11 to understand. It seems to be related to OpenGIS Simple Features for SQL Regards ThomasG GIS specialist

Re: [gdal-dev] Documenting build requirements (e.g. ODBC)

2019-10-21 Thread Thomas Gratier
Hi, In my opinion, although there are not explanations, Travis build files are a good help to sort out building issues dependencies. https://github.com/OSGeo/gdal/tree/master/gdal/ci/travis Mentioning them somewhere could help Regards Thomas Gratier Le dim. 20 oct. 2019 à 22:27, Mateusz

[gdal-dev] About -oo -lco -dsco in docs

2024-03-26 Thread Thomas Gratier via gdal-dev
t;Layer creation options" block "When using the command line, use the flag `-lco =`" Thoughts about the suggestion? Better idea? Not worth? Regards, Thomas Gratier ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] WRITE_BBOX not available in GeoJSONSeq lco options?

2024-08-28 Thread Thomas Gratier via gdal-dev
jq) is the following ogr2ogr -f GeoJSON -lco WRITE_BBOX=YES /vsistdout/ poly_nobbox.geojson | jq -r -c .features[] >| poly_with_box.geojsonl Regards, Thomas Gratier ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev