Hi Richard, you can use your own shapefiles, but the must have the  
same attributes as your
basefeaturetype.  The GeneralizationInfo.featureName is the same as if  
you would use the specific shape file directly.  It is not obligatory  
to use the Toolbox.

Btw,  using shape files has the big disadvantage that you have to  
duplicate all attribute values for each generalization.  I am using  
DB2 (you can use postgis,oracle,..) to have one table with the the  
attribute values and a second with all the geometries (including the  
generalized geoms). I use SQL views to create a feature type for each  
generalization. No redundancy, good performance.






Quoting Richard Marshall <[email protected]>:

>
> Hi Christian
>
> The response times have improved, I am using approximately 246000 features
> in the shape file.  I am still experimenting with different shape files
> though.


>
> I have a question for you, can I use generalized shape files that have not
> been created by your Toolbox?  We have some, e.g. roads, that are being used
> by other applications and I wondered if it is possible to use them with the
> GeoTools PreGeneralizedDataStore.  If it is possible, what do I specify in
> the xml configuration file?  What would the value of the
> 'GeneralizationInfo.featureName' be?  I understand this is created by the
> Toolbox generalization process.
>
> Thanks,
> Richard
> --
> View this message in context:   
> http://n2.nabble.com/Shapefile-pregeneralization-tp4867089p4938718.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to