Package org.geotools.feature.simple

Examples of org.geotools.feature.simple.SimpleFeatureTypeBuilder.userData()


                        Class binding = g.getClass();
                        CoordinateReferenceSystem crs = null;
                        if (g.getSRID() > 0) {
                            // see if the dialect can handle this one
                            crs = store.getSQLDialect().createCRS(g.getSRID(), cx);
                            tb.userData(JDBCDataStore.JDBC_NATIVE_SRID, g.getSRID());
                        }
                        if (crs == null) {
                            crs = gd.getCoordinateReferenceSystem();
                        }
                        tb.add(ad.getLocalName(), binding, crs);
View Full Code Here


                        Class binding = g.getClass();
                        CoordinateReferenceSystem crs = null;
                        if (g.getSRID() > 0) {
                            // see if the dialect can handle this one
                            crs = store.getSQLDialect().createCRS(g.getSRID(), cx);
                            tb.userData(JDBCDataStore.JDBC_NATIVE_SRID, g.getSRID());
                        }
                        if (crs == null) {
                            crs = gd.getCoordinateReferenceSystem();
                        }
                        tb.add(ad.getLocalName(), binding, crs);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.