On Thu, Apr 14, 2011 at 8:17 PM, amrita90mu <[email protected]> wrote:

> hi..i have a query.
> i have made a project in which i have added enableLayerTable(true). So many
> layers can be displayed. Is there any way that i can export multiple layers
> in a single shapefile.?
>
>
I don't know about the GUI code, but I can speak a bit about shapefiles: a
shapefile
has a fixed structure, all the records in it must have the same geometric
type
and the same attributes.

Thus it's normally not possible to mix different layers (roads, buildings,
points of interst)
in the same shapefile. You normally have to export those each in a separate
shapefile.

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to