Opened 8 years ago

Closed 5 years ago

#108 closed enhancement (fixed)

build spatialite with librttopo support

Reported by: Jeff McKenna Owned by: Jeff McKenna
Priority: major Milestone: 4.0.2 release
Component: MS4W - GDAL Version: 3.2.2
Keywords: Cc:
Blocked By: Blocking:

Description

  • IRC discussion
        GlennS	Hi, I'm wondering if anyone knows of a command line tool to fix invalid geometries? Something like PostGIS's ST_MakeValid, except without having to install PostGIS.
	GlennS	I know that Spatialite can also use this via librttopo, but I'm having trouble getting that working so thought I'd see if there was an easier way before I bang my head against it any further
	EvenR	GlennS: ogr2ogr out.shp in.shp -sql "select ST_MakeValid(geometry), * FROM in" -dialect SQLite
	GlennS	EvenR: I don't thing the spatialite which ships with ogr2ogr (or is it just using my system's library?) comes with ST_MakeValid by default? I get undefined function ST_MakeValid.
	EvenR	spatialite must be built against liblwgeom : https://www.gaia-gis.it/gaia-sins/spatialite-sql-4.3.0.html
	sigq	Title: SpatiaLite SQL functions reference list (at www.gaia-gis.it)
	GlennS	yeah, as I mentioned, I'm failing to do that
	GlennS	actually that information is out of date anyway
	GlennS	they've switched from liblwgeom to librttopo

Change History (10)

comment:1 by Jeff McKenna, 8 years ago

Milestone: 4.0 release3.2.2 release

comment:2 by Jeff McKenna, 8 years ago

Summary: build spatialite with rttopo supportbuild spatialite with librttopo support

Compile errors with Visual Studio 2012 & librttopo: https://git.osgeo.org/gogs/rttopo/librttopo/issues/24

comment:3 by Jeff McKenna, 7 years ago

Milestone: 3.2.2 release3.2.3 release

comment:4 by Jeff McKenna, 7 years ago

Version: 3.2.13.2.2

comment:5 by Jeff McKenna, 7 years ago

Milestone: 3.2.3 release4.0 release

comment:6 by Jeff McKenna, 7 years ago

best versions:

  1. librttopo-1.1.0-RC1


https://git.osgeo.org/gitea/rttopo/librttopo/src/tag/librttopo-1.1.0-RC1

  1. libspatialite-5.0.0-devel

(dowlnoaded from the Fossil Repository)

(from thread: https://groups.google.com/d/msg/spatialite-users/MlXsPU0ZMYw/t-ynEJ2TBQAJ)

comment:7 by Jeff McKenna, 6 years ago

another related ticket (for 2 missing header files): https://git.osgeo.org/gitea/rttopo/librttopo/issues/25

comment:8 by Jeff McKenna, 6 years ago

Milestone: 4.0 release4.1 release

comment:9 by Jeff McKenna, 5 years ago

Milestone: 4.1 release4.0.2 release

comment:10 by Jeff McKenna, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.