Hi all.

I am trying to create a layer with a Pregeneralizing data store. Could anybody 
show me an example of a XML configuration file for horizontal layout that works?

I have a 3 tables in PostGIS, the original and two generalized versions. I 
Created an xml configuration file as follows:

<?xml version="1.0" encoding="UTF-8"?>
<GeneralizationInfos version="1.0">
      <GeneralizationInfo dataSourceName="PostGIS_ACU2018G"  
featureName="rangoalti50_mdt5" baseFeatureName="rangosalti50" 
geomPropertyName="geom">
      <Generalization dataSourceName="PostGIS_ACU2018G"  distance="0.0001" 
featureName="rangoalti50_mdt200" geomPropertyName="geom"/>
      <Generalization dataSourceName="PostGIS_ACU2018G"  distance="0.001" 
featureName="rangoalti50_mdt500" geomPropertyName="geom"/>
      </GeneralizationInfo>
</GeneralizationInfos>

I have PostGIS_ACU2018G created as a PostGIS Data Store. When I try to add a 
new data store using the xml file got an error:
...
Caused by: java.lang.RuntimeException: java.io.IOException: Data store named 
PostGIS_ACU2018G not found
...

I don´t know what should I put in dataSourceName parameter in XML configuration 
file, maybe a PostGIS connection. Any example that works?

Thanks in advance.

[http://www.tragsa.es/SiteCollectionImages/Relaciones%20Institucionales%20(Prensa)/FIRMA%20OUTLOOK/Tragsatec.png]

[http://www.tragsa.es/SiteCollectionImages/Relaciones%20Institucionales%20(Prensa)/FIRMA%20OUTLOOK/cenefa.png]

Briones Garcia, Pedro
JGAP Sist Inform Geográfica
S.Información Geográfica / G.Sist.Inf. Geografica
Grupo Tragsa - SEPI

[http://www.tragsa.es/SiteCollectionImages/Relaciones%20Institucionales%20(Prensa)/FIRMA%20OUTLOOK/Tragsatec_SEPI.png]

Calle Julián Camarillo 6B - 28037 Madrid
Tel.: 913226489 - 88216 - Fax: 913226005
p...@tragsa.es
<mailto:p...@tragsa.es>www.tragsa.es <http://www.tragsa.es/>


En beneficio del medio ambiente, imprime este e-mail sólo si realmente es 
necesario
For the benefit of the environment, print this e-mail only if you really need to





**********************************************************************************************
El consumo de papel es perjudicial para el medio ambiente. Por favor, téngalo 
en cuenta antes de imprimir este mensaje. AVISO LEGAL: Este mensaje y sus 
anexos pueden contener información confidencial o legalmente protegida. Está 
dirigido únicamente a la persona o entidad indicada como destinatarios del 
mensaje. Si este mensaje le hubiera llegado por error, por favor elimínelo sin 
revisarlo ni reenviarlo y notifíquelo inmediatamente al remitente. 
**********************************************************************************************

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to