You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2008-10-16 11:15:12

dovidio
Member
4 posts

dovidio said:

Topology: check and repair geometries...how to

Hello,
I' d like to read from a multipolygon SHP file in which some points don't form a closed linestring. It i s a tipical topological problem but because of GeoTools error it is non possibile to read successfully the input file. For this my SHP file must be corrected before use SDI (for example wtih v.in.ogr of GRASS). I think it is necessary to check and repair geometries directly inside SDI..
In this way I am not able to use isValid control after reading "bad" SHP file because the Exception is in the first step (SHP file input) :-(

How Can I do ?

Thanks

Offline

#2 2008-10-16 14:22:14

mcoudert
Member
55 posts

mcoudert said:

Re: Topology: check and repair geometries...how to

Hi,

For the time being it is not possible to handled this king of data in SDI because of Geotools as you said.
Indeed, to handled geometries in SDI we are using Datastore model from Geotools.

You should provide to SDI valid shapefile or data sources to be handled by Geotools, and then by SDI.
FYI, you'll not be able to use your invalid shapefile in other GeoTools based package such as uDig, geoserver, ....

Mathieu

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy