Re: [gdal-dev] Weird behavior while reprojecting geometries

2022-03-04 Thread Hugo
t; Are you familiar with the axis order that was introduced in gdal 3 and >> its affects on 4326? >> https://gdal.org/tutorials/osr_api_tut.html#crs-and-axis-order >> >> On Fri, 4 Mar 2022, 13:07 Hugo, wrote: >> >>> Hi guys, >>> >>> I'

[gdal-dev] Weird behavior while reprojecting geometries

2022-03-04 Thread Hugo
t the correct coordinates. What is weird is that I have another script reading from geonames dataset and there this behavior doesn't happen. I'm using GDAL 3.4.1 installed through conda on Ubuntu 20.04. Any hints? thanks in advance -- Hugo Martins _

[gdal-dev] Gdal.Dataset C# class is not complete

2016-10-26 Thread Hugo Maurício
Most of the deprecated Ogr.DataSource methods that where moved to Gdal.Datasource are not present in the Gdal.Dataset class. Methods like GetLayerByName() or GetLayerCount(). Why is this? Are they in another place? Thank you. Hugo Maurício ___ gdal

Re: [gdal-dev] Building GDAL 1.9.2 for debugging

2013-11-08 Thread Hugo Benicio
Nevermind, I got it I was missing nmake /f makefile.vc devinstall On Fri, Nov 8, 2013 at 10:21 AM, Hugo Benicio wrote: > I'm trying to compile GDAL 1.9.2 from source by myself using the DEBUG=1 > build. > > There is a flag on nmake.opt for VLD support: > MSVC_VLD_DIR=&quo

[gdal-dev] Building GDAL 1.9.2 for debugging

2013-11-08 Thread Hugo Benicio
ude files to use in my project? My build directory (GDAL_HOME = "C:\Users\Hugo\Downloads\gdal-1.9.2\build-debug") gives me only a "bin", "data" and "html" folders... Did the build really succeed? How can I get the include directory to build my project? Thanks in ad

Re: [gdal-dev] Creating an OGRPolygon from an OGREnvelope

2013-09-06 Thread Hugo Benicio
Thanks for you awnser, Frank. At the end, that conversion was not needed for me in my code. On Fri, Aug 30, 2013 at 9:34 PM, Frank Warmerdam wrote: > Hugo, > > OGREnvelope is not treated as a first class geometry in OGR and you are > pretty much stuck creating a polygon geometry po

[gdal-dev] Creating an OGRPolygon from an OGREnvelope

2013-08-30 Thread Hugo Benicio
handy method I can use (union?). Thanks in advance. Hugo. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Hugo Benicio
fined function 'ST_union' used. *Peter Halls,* Thanks for your answer.* * This is probably what I'm intended to do. My shapefiles are constructed among a lot of consecutive intersections in a way that polygons would never overlap, so I'm ok with that. Thank you all for your quick a

[gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Hugo Benicio
Does GDAL/OGR already support this operation (or eases this somehow)? Do I have to implement it by myself? Do I need to use another library to easily acomplish this task? (GRASS?). Thanks in advance, Hugo Benício. ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-27 Thread Hugo Benicio
quot;Feature to Polygon" > of ArcGIS or Polygonizer plugin of Quantum GIS does. Is there any tool for > this? > > 2012/11/26 Peter Halls > >> Alisson, Hugo, >> >> I think a reason for the lack of response is that the operation >> you need is a tad m

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Hugo Benicio
I'm facing a similar problem when trying to convert a shapefile containing lines to a shapefile containing polygons. No progress. If you solve it, please, let me know! Thanks in advance. On Mon, Nov 26, 2012 at 8:47 AM, Alisson Barbosa wrote: > Can anybody help me? > > > 2012/11/23 Alisson Barb

Re: [gdal-dev] IRC channel?

2012-11-22 Thread Hugo Benicio
Thanks for your quick replies! :) (I totally missed this info on the http://gdal.org, sorry :P) On Thu, Nov 22, 2012 at 10:51 AM, Yves Jacolin (Free) wrote: > Hugo, > > Le jeudi 22 novembre 2012 10:36:18 Hugo Benicio a écrit : > > Is there an IRC channel for this group (gdal de

[gdal-dev] IRC channel?

2012-11-22 Thread Hugo Benicio
Is there an IRC channel for this group (gdal dev) or any other channel for chatting with other gdal developers? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdaltransform - output into textfile

2012-10-23 Thread Hugo Benicio
if you remove the output redirection >"Grid.txt", what does it do? gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857 < "WGS84.txt" Does it print the output on you console/terminal? gdaltransform is actually generating an output? (You redirection syntax seems ok) On Tue, Oct 23, 2012 at 9:49 AM, Er

Re: [gdal-dev] Can't create feature on layer for polygon

2012-10-22 Thread Hugo Benicio
For anyone else having the same problem like mine, I solved my issue just iterating over the wkbGeometryCollection, gathering all polygons in it and creating a feature for the my layer for each of them. On Mon, Oct 22, 2012 at 1:31 PM, Hugo Benicio wrote: > Ok, I've discovered that m

Re: [gdal-dev] Can't create feature on layer for polygon

2012-10-22 Thread Hugo Benicio
sible) or how do I correctly change the geometry type of my geometry (from *wkbGeometryCollection *to *wkbPolygon*)? * * Thanks in advance, Hugo Benício. * * On Mon, Oct 22, 2012 at 11:24 AM, Hugo Benicio wrote: > Hi guys! > > I'm trying to create a shapefile containing a single polygon, b

[gdal-dev] Can't create feature on layer for polygon

2012-10-22 Thread Hugo Benicio
.. I don't know... *(*) *FYI, 'myPolygon' is generated with the Intersection of other 2 Polygons OGRGeometry *myPolygon = basinPolygon->Intersection(landscapePolygon); Thanks in Advance, Best Regards, Hugo Benício. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Can't delete feature from shapefile in python

2012-09-27 Thread Hugo
Thanks a lot for your suggestion Even. That is it. Cheers, Hugo On Sun, Sep 16, 2012 at 1:40 PM, Even Rouault wrote: > Le samedi 08 septembre 2012 05:06:41, Hugo a écrit : > > Hello all, > > > > I'm trying to delete a number of records from shapefile based on an

[gdal-dev] Can't delete feature from shapefile in python

2012-09-07 Thread Hugo
NextFeature() while feat: featId = feat.GetFID() layer.DeleteFeature(featId) feat = layer.GetNextFeature() shp.Destroy() Any suggestions? Thanks in advance. Regards, -- Hugo Martins ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev