Thanks for your reply, I change the pointby the polygon but It does'nt.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195664.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
---
If you look at the bottom of that program there is a
method createSimpleFeature which creates random points for the test code.
It should show you how to correctly create features from your polygon
coordinates,
You will also need to change
schema = DataUtilities.createType("", "Location",
"locati
Thank you for your reply , please, where i can enter the coordinates of my
polygons
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195344.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
Have a look at
https://github.com/ianturton/geotools-cookbook/blob/master/modules/output/src/main/java/org/ianturton/cookbook/output/WriteShapefile.java
and see if it helps you out.
Ian
On Wed, Mar 25, 2015 at 10:22 AM Lejdel wrote:
> Please, I await your answer:
>
> The program hangs in this i
Please, I await your answer:
The program hangs in this instruction :
newDataStore.createSchema(TYPE);
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195335.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-
I changed but still the same problem
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195224.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
--
I think Shapefile names should end ".shp"
From: Lejdel [lejde...@live.com]
Sent: 24 March 2015 10:03
To: geotools-gt2-users@lists.sourceforge.net
Subject: Re: [Geotools-gt2-users] Polygon to Shapefile
it shows me an problem in :
St
thanks for your response.
but , it shows me an problem in :
String file = FileUtils.getFileName("D:\\location.csv");
File newFile = getNewShapeFile(file);
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195122.html
Sent from
it shows me an problem in :
String file = FileUtils.getFileName("D:\\location.csv");
File newFile = getNewShapeFile(file);
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Polygon-to-Shapefile-tp5195100p5195121.html
Sent from the geotools-gt2-users mailing lis
Change builder.setName("Location"); to builder.setName("the_geom"); and
it should work fine.
Ian
On Tue, Mar 24, 2015 at 8:27 AM Lejdel wrote:
> Please, I have the coordinates of polygons, I want to save them in a
> shapefile
> I wrote this program but it does not work:
> public class Affiche
Please, I have the coordinates of polygons, I want to save them in a
shapefile
I wrote this program but it does not work:
public class Afficher {
public void chercheAfficher(Coordinate[] coord) throws IOException
//throws Exception
{
/**for ( int i =0;i< coord.length;i++){
11 matches
Mail list logo