f



topology rules in python

I have a PostGIS database with shapefiles lines, polygons and points and I want to create a topology rules with python.
Any idea how to do that ?some packages ?

I like some easy way to do that because I am newbie but its OK.

Some topology rules when I want.
shapefile must not have gaps
shapefile must not have overlaps
shapefile must not overlap with shapefile2
invalid geometries
0
Xristos
12/20/2016 9:46:44 PM
comp.lang.python 77058 articles. 5 followers. Post Follow

2 Replies
241 Views

Similar Articles

[PageSpeed] 24

On 2016-12-20, Xristos Xristoou wrote:
> I have a PostGIS database with shapefiles lines, polygons and points
> and I want to create a topology rules with python. Any idea how to do
> that ?some packages ?

http://www.gdal.org/

or:

pip install gdal




Bernd

-- 
no time toulouse
0
Bernd
12/21/2016 6:11:34 AM
On 12/21/2016 07:11 AM, Bernd Nawothnig wrote:
> On 2016-12-20, Xristos Xristoou wrote:
>> I have a PostGIS database with shapefiles lines, polygons and points
>> and I want to create a topology rules with python. Any idea how to do
>> that ?some packages ?
> http://www.gdal.org/
>
> or:
>
> pip install gdal

also: shapely, geopandas


0
Fabien
12/21/2016 7:53:36 PM
Reply: