Hi, I try to use GeoPackage to store SimpleFeatures but when I add them, their IDs become strange. Here there is a running example: https://github.com/remipassmoilesel/abc-map2/tree/master/src/test/java/org/abcmap/core/shapes
Below a sample of output: // Before adding (with SimpleFeatureBuilder.buildFeature(null); fid-6c609a7e_1585d46582c_-7ff9 fid-6c609a7e_1585d46582c_-7ffa fid-6c609a7e_1585d46582c_-7ffb fid-6c609a7e_1585d46582c_-7ffc fid-6c609a7e_1585d46582c_-7ffd fid-6c609a7e_1585d46582c_-7ffe fid-6c609a7e_1585d46582c_-7fff fid-6c609a7e_1585d46582c_-8000 // After adding: feature1.null feature1.null feature1.null feature1.null feature1.null feature1.null I learned in Javadoc that feature ID format is dependent on storage, but is this a correct behavior ? Feature identifiers are not supposed to be unique ? I was about to use IDs to adapt style, so if IDs are not unique what is the best strategy ? Thanks for your help. -- *** Rémi PACE http://remi-pace.fr https://github.com/remipassmoilesel Photographie: http://toutes-les-bulles-eclatent.fr ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
