
org.geomajas.testdata.layerPopulatedPlaces110m.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geomajas-testdata Show documentation
Show all versions of geomajas-testdata Show documentation
Geomajas server: Main - test data
<!-- ~ This is part of Geomajas, a GIS framework, http://www.geomajas.org/. ~ ~ Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium. ~ ~ The program is available in open source according to the GNU Affero ~ General Public License. All contributions in this program are covered ~ by the Geomajas Contributors License Agreement. For full licensing ~ details, see LICENSE.txt in the project root. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd" > <bean name="populatedPlaces110mInfo" class="org.geomajas.configuration.VectorLayerInfo"> <property name="layerType" value="MULTIPOINT"/> <property name="crs" value="EPSG:4326"/> <property name="maxExtent"> <bean class="org.geomajas.geometry.Bbox"> <property name="x" value="-128.5"/> <property name="y" value="16"/> <property name="width" value="64.5"/> <property name="height" value="35"/> </bean> </property> <property name="featureInfo" ref="populatedPlaces110mFeatureInfo" /> <property name="namedStyleInfos"> <list> <ref bean="populatedPlaces110mStyleInfo" /> </list> </property> </bean> <bean class="org.geomajas.configuration.FeatureInfo" name="populatedPlaces110mFeatureInfo"> <property name="dataSourceName" value="110m_populated_places_simple"/> <property name="identifier"> <bean class="org.geomajas.configuration.PrimitiveAttributeInfo"> <property name="label" value="Name"/> <property name="name" value="NAME"/> <property name="type" value="STRING"/> </bean> </property> <property name="geometryType"> <bean class="org.geomajas.configuration.GeometryAttributeInfo"> <property name="name" value="the_geom"/> <property name="editable" value="false"/> </bean> </property> <property name="attributes"> <list> <bean class="org.geomajas.configuration.PrimitiveAttributeInfo"> <property name="label" value="Name"/> <property name="name" value="NAME"/> <property name="editable" value="false"/> <property name="identifying" value="true"/> <property name="type" value="STRING"/> </bean> <bean class="org.geomajas.configuration.PrimitiveAttributeInfo"> <property name="label" value="Country"/> <property name="name" value="ADM0NAME"/> <property name="editable" value="false"/> <property name="identifying" value="false"/> <property name="type" value="STRING"/> </bean> <bean class="org.geomajas.configuration.PrimitiveAttributeInfo"> <property name="label" value="World city"/> <property name="name" value="WORLDCITY"/> <property name="editable" value="false"/> <property name="identifying" value="false"/> <property name="type" value="INTEGER"/> </bean> <bean class="org.geomajas.configuration.PrimitiveAttributeInfo"> <property name="label" value="Population"/> <property name="name" value="POP_OTHER"/> <property name="editable" value="false"/> <property name="identifying" value="false"/> <property name="type" value="INTEGER"/> </bean> </list> </property> </bean> <bean class="org.geomajas.configuration.NamedStyleInfo" name="populatedPlaces110mStyleInfo"> <property name="featureStyles"> <list> <bean class="org.geomajas.configuration.FeatureStyleInfo"> <property name="name" value="Worldcities"/> <property name="formula" value="(WORLDCITY > 0)"/> <property name="fillColor" value="#663333" /> <property name="fillOpacity" value=".75" /> <property name="strokeColor" value="#333333" /> <property name="strokeOpacity" value="1" /> <property name="strokeWidth" value="1" /> <property name="symbol"> <bean class="org.geomajas.configuration.SymbolInfo"> <property name="image"> <bean class="org.geomajas.configuration.ImageInfo"> <property name="href" value="org.geomajas.example.gwt.GeomajasSamples/sc/geomajas/example/images/city1.png" /> <property name="selectionHref" value="org.geomajas.example.gwt.GeomajasSamples/sc/geomajas/example/images/city1_selected.png" /> <property name="width" value="24" /> <property name="height" value="32" /> </bean> </property> </bean> </property> </bean> <bean class="org.geomajas.configuration.FeatureStyleInfo"> <property name="name" value="Other cities"/> <property name="fillColor" value="#CC3333" /> <property name="fillOpacity" value=".7" /> <property name="strokeColor" value="#333333" /> <property name="strokeOpacity" value="1" /> <property name="strokeWidth" value="1" /> <property name="symbol"> <bean class="org.geomajas.configuration.SymbolInfo"> <property name="image"> <bean class="org.geomajas.configuration.ImageInfo"> <property name="href" value="org.geomajas.example.gwt.GeomajasSamples/sc/geomajas/example/images/city3.png" /> <property name="selectionHref" value="org.geomajas.example.gwt.GeomajasSamples/sc/geomajas/example/images/city3_selected.png" /> <property name="width" value="13" /> <property name="height" value="20" /> </bean> </property> </bean> </property> </bean> </list> </property> <property name="labelStyle"> <bean class="org.geomajas.configuration.LabelStyleInfo"> <property name="labelAttributeName" value="NAME"/> <property name="fontStyle"> <bean class="org.geomajas.configuration.FontStyleInfo"> <property name="color" value="#000000" /> <property name="opacity" value="1" /> </bean> </property> <property name="backgroundStyle"> <bean class="org.geomajas.configuration.FeatureStyleInfo"> <property name="fillColor" value="#FFFFFF"/> <property name="fillOpacity" value=".7"/> <property name="strokeColor" value="#000099"/> <property name="strokeOpacity" value="1"/> <property name="strokeWidth" value="1"/> </bean> </property> </bean> </property> </bean> <!--bean name="populatedPlaces110m" class="org.geomajas.layer.shapeinmem.ShapeInMemLayer"> <property name="layerInfo" ref="populatedPlaces110mInfo" /> <property name="url" value="classpath:org/geomajas/testdata/shapes/natural_earth/110m_populated_places_simple.shp"/> </bean--> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy