On Thu, Sep 16, 2010 at 7:12 AM, GTn00b <[email protected]> wrote:
>
> Hello,
>
> I've noticed that when writing a shapefile, the original line order of the
> source (e.g. csv file) is not maintained. I believe this is due to Features
> being not specifically ordered within the FeatureCollection? I saw somewhere
> that a FeatureList may be an option, but I'm not sure if this is still
> implemented in GeoTools.
>
> So, is it possible to maintain the line order of the source when creating a
> shapefile?

I don't know the answer to this but I can't help wondering why the
line order of the shapefile is important to you? You can just treat it
as a pile of data - I'm pretty sure that you need to read the whole
file to do anything with it anyway so order isn't important.

Ian
-- 
Ian Turton

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to