Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread TRD
The file is shortened to contain only one FeatureType, in detail
Hauskoordinate which is used in the mapping. I did not edit the version in
my app-schema-cache directly. I edited the file located at my localhost and
deleted the file in the cache. This schema file does contain an element with
the appropiate WFS feature type.

 your message describes encountering an error, but does not give any
 details. Do you see any errors in geoserver.log when it starts? Do you
 see any errors when you attempt to query the service?
 What is the nature of your error?

Well, I assume that the email does not contain any raw-tag I used to provide
the content of files and for the occured error too. So I'd like you to
review my post at
http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-td6884793.html
This is the visual frontend of my topic with all replies and contains more
information than the generated email.

 I assume that you have configured your data store as described here:
 http://docs.geoserver.org/latest/en/user/data/app-schema/data-stores.html#postgis
That's true. And this is working if I edit the tutorial config to access my
postgis database instead of propery-files.

 Note that AppSchemaDataAccess.xsd is only used to assist editing with
 schema-aware editors. It is not required by the app-schema plugin.
Thank you for this hint. So I could remove the schema without any error.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6887829.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread Ben Caradoc-Davies
If you are serving the schema from localhost via GeoServer, it will not 
be located, because GeoServer tries to download the schema (for 
app-schema) before GeoServer starts serving content. Or are you using 
another server on localhost?

Try installing your schema in:

app-schema-cache/localhost/path/to/your/schema.xsd

and referring to it in your mapping as

http://localhost/path/to/your/schema.xsd

Then app-schema will resolve it in the cache.

Kind regards,
Ben.

On 13/10/11 14:42, TRD wrote:
 The file is shortened to contain only one FeatureType, in detail
 Hauskoordinate which is used in the mapping. I did not edit the version in
 my app-schema-cache directly. I edited the file located at my localhost and
 deleted the file in the cache. This schema file does contain an element with
 the appropiate WFS feature type.

-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread TRD
This is the schema file called dog_hk.xsd:

?xml version=1.0 encoding=UTF-8?
schema targetNamespace=http://www.lverma.nrw.de/namespaces/dog;
xmlns:dog=http://www.lverma.nrw.de/namespaces/dog;
xmlns:gml=http://www.opengis.net/gml;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:iso19112=http://www.opengis.net/iso19112;
xmlns:app=http://www.deegree.org/app;
xmlns:wfs=http://www.deegree.org/wfs;
xmlns:ogc=http://www.opengis.net/ogc;
xmlns:deegreewfs=http://www.deegree.org/wfs;
element-FormDefault=qualified attributeFormDefault=unqualified
annotation
documentationDieses Schema baut auf dem DOG-Profil für 
Hauskoordinaten
Deutschland in der Version 1.0.1 auf./documentation
/annotation
import namespace=http://www.opengis.net/iso19112;
schemaLocation=http://frameworkwfs.usgs.gov/framework/schemas/gazetteer/1.0.0/gmlsf1/iso19112.xsd;
/

element name=Hauskoordinaten type=dog:HauskoordinatenType
substitution-Group=iso19112:SI_LocationInstance /

complexType name=HauskoordinatenType
complexContent
extension base=iso19112:SI_LocationInstanceType
sequence
element name=qualitaet 
type=xsd:string minOccurs=0 /
element name=datensatznummer 
type=xsd:integer minOccurs=0 /
element name=land type=xsd:string 
minOccurs=0 /
element name=regierungsbezirk 
type=xsd:string minOccurs=0 /
element name=kreis type=xsd:string 
minOccurs=0 /
element name=gemeinde 
type=xsd:string minOccurs=0 /
element name=ortsteil 
type=xsd:string minOccurs=0 /
element name=strasse 
type=xsd:string minOccurs=0 /
element name=hausnummer 
type=xsd:string minOccurs=0 /
element name=hausnummernzusatz 
type=xsd:string minOccurs=0 /
element name=hausschluessel 
type=xsd:string minOccurs=0 /
element name=strassenname 
type=xsd:string minOccurs=0 /
element 
name=strassenname_normalisiert type=xsd:string
minOccurs=0 /
element name=strassenname_soundex 
type=xsd:string minOccurs=0 /
element name=ortsteilname 
type=xsd:string minOccurs=0 /
element 
name=ortsteilname_normalisiert type=xsd:string
minOccurs=0 /
element name=postleitzahl 
type=xsd:string minOccurs=0 /
element name=postOrtsteil 
type=xsd:string minOccurs=0 /
element 
name=postOrtsteil_normalisiert type=xsd:string
minOccurs=0 /
element name=ortsnamePost 
type=xsd:string minOccurs=0 /
element 
name=ortsnamePost_normalisiert type=xsd:string
minOccurs=0 /
element name=zusatzOrtsname 
type=xsd:string minOccurs=0 /
element 
name=zusatzOrtsname_normalisiert type=xsd:string
minOccurs=0 /
/sequence
/extension
/complexContent
/complexType
/schema

and this is the reference for the schema file above:
targetTypes
FeatureType
schemaUrihttp://localhost/dog_hk.xsd/schemaUri
/FeatureType
/targetTypes



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6887948.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-13 Thread Agelos Pappas
I have the latest OpenLayers version, but I don't believe it is a 
OpenLayers issue. As you can see in the images and as I have already 
stated, the geometries wrap fine around the IDL. It's just the labels 
that are left out. If I add a layer that contains polygons for example, 
the shapes will appear on both sides, as the world map does. But the 
labels only appear once.
P.S. When I say labels, I mean textsymbolizer tags.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread Ben Caradoc-Davies
Should element-FormDefault be elementFormDefault? And should 
substitution-Group be substitutionGroup? Please resend as an attachment 
to ensure it is not being corrupted by email reformatting.

Your schema element has no xmlns=http://www.w3.org/2001/XMLSchema; 
which I thought was required to define your root element namespace. I'm 
not sure if this will cause your problems, but other schemas I use have it.

Have you tried loading your schema in a validating editor. Eclipse (uses 
xerces) goes crazy.

Your schemaUri element looks good.

On 13/10/11 15:42, TRD wrote:
 This is the schema file called dog_hk.xsd:

 ?xml version=1.0 encoding=UTF-8?
 schema targetNamespace=http://www.lverma.nrw.de/namespaces/dog;
   xmlns:dog=http://www.lverma.nrw.de/namespaces/dog;
 xmlns:gml=http://www.opengis.net/gml;
   xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:iso19112=http://www.opengis.net/iso19112;
   xmlns:app=http://www.deegree.org/app;
 xmlns:wfs=http://www.deegree.org/wfs;
   xmlns:ogc=http://www.opengis.net/ogc;
 xmlns:deegreewfs=http://www.deegree.org/wfs;
 element-FormDefault=qualified attributeFormDefault=unqualified
   annotation
   documentationDieses Schema baut auf dem DOG-Profil für 
 Hauskoordinaten
 Deutschland in der Version 1.0.1 auf./documentation
   /annotation
   import namespace=http://www.opengis.net/iso19112;
 schemaLocation=http://frameworkwfs.usgs.gov/framework/schemas/gazetteer/1.0.0/gmlsf1/iso19112.xsd;
 /

   element name=Hauskoordinaten type=dog:HauskoordinatenType
 substitution-Group=iso19112:SI_LocationInstance /

   complexType name=HauskoordinatenType
   complexContent
   extension base=iso19112:SI_LocationInstanceType
   sequence
   element name=qualitaet 
 type=xsd:string minOccurs=0 /
   element name=datensatznummer 
 type=xsd:integer minOccurs=0 /
   element name=land type=xsd:string 
 minOccurs=0 /
   element name=regierungsbezirk 
 type=xsd:string minOccurs=0 /
   element name=kreis type=xsd:string 
 minOccurs=0 /
   element name=gemeinde 
 type=xsd:string minOccurs=0 /
   element name=ortsteil 
 type=xsd:string minOccurs=0 /
   element name=strasse 
 type=xsd:string minOccurs=0 /
   element name=hausnummer 
 type=xsd:string minOccurs=0 /
   element name=hausnummernzusatz 
 type=xsd:string minOccurs=0 /
   element name=hausschluessel 
 type=xsd:string minOccurs=0 /
   element name=strassenname 
 type=xsd:string minOccurs=0 /
   element 
 name=strassenname_normalisiert type=xsd:string
 minOccurs=0 /
   element name=strassenname_soundex 
 type=xsd:string minOccurs=0 /
   element name=ortsteilname 
 type=xsd:string minOccurs=0 /
   element 
 name=ortsteilname_normalisiert type=xsd:string
 minOccurs=0 /
   element name=postleitzahl 
 type=xsd:string minOccurs=0 /
   element name=postOrtsteil 
 type=xsd:string minOccurs=0 /
   element 
 name=postOrtsteil_normalisiert type=xsd:string
 minOccurs=0 /
   element name=ortsnamePost 
 type=xsd:string minOccurs=0 /
   element 
 name=ortsnamePost_normalisiert type=xsd:string
 minOccurs=0 /
   element name=zusatzOrtsname 
 type=xsd:string minOccurs=0 /
   element 
 name=zusatzOrtsname_normalisiert type=xsd:string
 minOccurs=0 /
   /sequence
   /extension
   /complexContent
   /complexType
 /schema

 and this is the reference for the schema file above:
  targetTypes
  FeatureType
  schemaUrihttp://localhost/dog_hk.xsd/schemaUri
  /FeatureType
  /targetTypes



 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6887948.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.

 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 

Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread TRD
You are totally right, those - were in the original xsd-file and truly are
not wanted there. I removed them and added the missing XMLSchema namespace.
This solved the occurence of the error No top level element found in
schemas but instead I'm getting XSD type definition not found in schemas:
{http://www.opengis.net/iso19112}SI_LocationInstanceType. I checked the
linked iso19112.xsd for this type and it seems that this type is defined
there.
So I cannot detect why this error shows up.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6888071.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schema plugin, No top level element found in schemas

2011-10-13 Thread TRD
Finally I got it working (as no error appears anymore). The last error showed
up because a mismatch of namespaces. After correcting them everything seems
to work fine for now :D

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6888099.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Layer group issue

2011-10-13 Thread Rahkonen Jukka
Hi,

Looks like both layers are there but you can see just one.  Perhaps the vector 
layer is under the DEM? Or then the drawing style may be something invisible. 
How does the SLD look like?

-Jukka Rahkonen-

 Gunnlaugur Einarsson  wrote:
Hello List,

I want to create a single WMS service (map) from a differnet data sources. 
using a layer group. One is a DEM and the other is outlines of glaciers. When I 
preivew the layers using open layers only the dem renders, but information is 
retrieved from the vectors (see attched). In the KML both layers render.

Do you have any idea how to solve this?

Best Regards
Gunnlagur,

 .
Gunnlaugur M. Einarsson
Landupplýsingar / Geographic Information
Landfræðingur / Geographer
Beinn sími / Direct: +354 528 1555
Farsími / Mobile: +354 868 2581
g...@isor.ismailto:g...@isor.is

Íslenskar orkurannsóknir / Iceland GeoSurvey
Grensásvegur 9, 108 Reykjavík
Sími / Tel: +354 528 1500
Fax: +354 528 1699
www.isor.ishttp://www.isor.is
.
www.isor.is/disclaimer.htmlhttp://www.isor.is/disclaimer.html

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Layer group issue

2011-10-13 Thread Andrea Aime
On Thu, Oct 13, 2011 at 1:08 PM, Gunnlaugur Einarsson gunnlaug...@gmail.com
 wrote:

 Yes,
 That seems to me to be the problem, The vector layer is above the DEM.
 Renders correctly when previewed as KML...
 The vector layer also renders correctly when previewed indepentantly.


Going back to the layer order... the glacier is the first and the vector one
is the last one, right?
Layers are rendered in the order you declare them, the first one is rendered
the first, meaning
it ends up below all others

Cheers
Andrea


-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Migrating to 2.1.2 without the pain.

2011-10-13 Thread Simone Giannecchini
Ciao Tony,
migrating a minor release does not pose any risk on your data directory.
Upgrading from major versions can instead be destructive meaning that
as an instance if you let GS 2.1.x boot using a 2.0 data_dir then 2.0
won't be able to read it anymore.

That said, I would suggest something simple. Use an external data_dir,
back the data_dir up somewhere, do the minor upgrade and check that
things are ok.
THis way you can always go back.

Anyway, as I said, upgrading on the same major to a newer minor is
considere a safe operation, actually, it is usually recommended.

Regards,
Simone Giannecchini
---
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

---



On Fri, Oct 7, 2011 at 6:12 PM, Appel, Tony tony.ap...@navteq.com wrote:
 Hello all,



 I saw the blog post yesterday about the new release that has a bug fix that
 I have been waiting for.



 Unfortunately I am not excited about updating my version of GS since there
 seems to be no docs on how to migrate from minor versions.

 IE: What files and folders are necessary to copy on top of my existing
 install in order to upgrade it from 2.1.1 à 2.1.2



 I have expended quite a bit of effort getting my current install running
 just the way I want it and I would hate to  have to repeat it – or lose
 items that took me many hours to get just right.



 Thanks in advance.





 Tony Appel

 Senior Systems Engineer- Enterprise Platforms

 Global Operations Technology

 NOKIA - Location and Commerce - Fargo



 
 The information contained in this communication may be CONFIDENTIAL and is
 intended only for the use of the recipient(s) named above. If you are not
 the intended recipient, you are hereby notified that any dissemination,
 distribution, or copying of this communication, or any of its contents, is
 strictly prohibited. If you have received this communication in error,
 please notify the sender and delete/destroy the original message and any
 copy of it from your computer or paper files.

 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2dcopy2
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] layer names in getcapabilities without workspace

2011-10-13 Thread SAUL Sibylle
Hi,

the INSPIRE Directive requires the harmonised name to be mapped in the Name 
element of the layers. So, I have to get rid of the workspace name there. This 
topic came up (http://sourceforge.net/mailarchive/message.php?msg_id=27445184) 
quite a long time ago.

I wonder if there are any news concerning this topic or whether anybody has an 
idea how to implement this!

Thanks!
Sibylle


Mag. Sibylle Saul
Bundesanstalt Statistik Österreich
Abteilung Register, Klassifikationen und Methodik
Kartographie und GIS
Guglgasse 13, 1110 Wien
Tel.: +43-1-71128 8024
E-Mail: sibylle.s...@statistik.gv.at
www.statistik.at



/pre
html
hr color=#AA size=2
font face=arial size=1 color=black
center
Die Bundesanstalt Statistik Ouml;sterreich sowie alle Mitwirkenden an den 
beigefuuml;gten Unterlagen haben deren Inhalte sorgfauml;ltig recherchiert 
und erstellt. Fehler kouml;nnen dennoch nicht gauml;nzlich ausgeschlossen 
werden. Die Genannten uuml;bernehmen daher keine Haftung fuuml;r die 
Richtigkeit, Vollstauml;ndigkeit und Aktualitauml;t der Inhalte, insbesondere 
uuml;bernehmen sie keinerlei Haftung fuuml;r eventuelle unmittelbare oder 
mittelbare Schauml;den, die durch die direkte oder indirekte Nutzung der 
angebotenen Inhalte entstehen.
br
br
Korrekturhinweise uuml;bermitteln Sie bitte an die absendende Stelle.
br
br
Diese Nachricht ist ausschlieszlig;lich fuuml;r die in der Anschrift genannte 
Person bestimmt. Sollten Sie dieses E-Mail irrtuuml;mlich erhalten haben, 
verstauml;ndigen Sie bitte die absendende Stelle und vernichten Sie die 
Nachricht inklusive aller Anhauml;nge. Danke.
br
br
Bundesanstalt Statistik Ouml;sterreich, 1110 Wien, Guglgasse 13
br
br
Tel. +43 (1) 71128-0, Fax +43 (1) 71128-7728
br
E-Mail: off...@statistik.gv.at, Internet: www.statistik.at
br
br
Firmenbuch: FN 191155k, Firmenbuchgericht: Handelsgericht Wien
br
Firmensitz: Wien, Gerichtsstand: Wien, UID: ATU37869909, DVR 043
/center
/font
hr color=#AA size=2
pre
/html
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] question about query and bbox

2011-10-13 Thread zorg
Hello
I want to generate just a image of a  layer with ine specific object of 
the layer in the center of the map

But I don't know how to do this

I know how to query to get information of the object

url http://myip:80/geoserver/wfs
post
wfs:GetFeature service=WFS version=1.0.0 
xmlns:wfs=http://www.opengis.net/wfs; 
xmlns:gml=http://www.opengis.net/gml; 
xmlns:ogc=http://www.opengis.net/ogc;
wfs:Query srsName=EPSG:3945 xmlns:WORKSPACE=WORKSPACE 
typeName=WORKSPACE:LAYER
ogc:Filter
ogc:PropertyIsLike wildCard='*' singleChar='.' escape='!'
ogc:PropertyNameWORKSPACE:idr/ogc:PropertyName
ogc:Literal99/ogc:Literal
/ogc:PropertyIsLike
/ogc:Filter
/wfs:Query
/wfs:GetFeature


and then to generate something like that
http://myip:80/geoserver/WORKSPACE/wms?SERVICE=WMSversion=1.1.1request=GetMapservice=WMSlayers=WORKSPACE%3ALAYER%2CWORKSPACE%3ALAYER2styles=STYLE1%2CSTYLE2srs=EPSG%3A3945bbox=99917415.506863%2C42545544604.77%2C1918108.093536%2C4225124.21width=600height=450format=image%2Fpngbgcolor=0xfftransparent=TRUEexceptions=application%2Fvnd.ogc.se_inimage

My problem is that Is don't know how to calcute the bbox around an obect 
using information obtain by the first request maybe with gml:coordinates

Don't know if I'm clear and if it's the best way to do this

Thank for your help



--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] question about query and bbox

2011-10-13 Thread Andrea Aime
On Thu, Oct 13, 2011 at 3:53 PM, zorg z...@probesys.com wrote:

 Hello
 I want to generate just a image of a  layer with ine specific object of
 the layer in the center of the map

 But I don't know how to do this

 I know how to query to get information of the object

 url http://myip:80/geoserver/wfs
 post
 wfs:GetFeature service=WFS version=1.0.0
 xmlns:wfs=http://www.opengis.net/wfs;
 xmlns:gml=http://www.opengis.net/gml;
 xmlns:ogc=http://www.opengis.net/ogc;
 wfs:Query srsName=EPSG:3945 xmlns:WORKSPACE=WORKSPACE
 typeName=WORKSPACE:LAYER
 ogc:Filter
 ogc:PropertyIsLike wildCard='*' singleChar='.' escape='!'
 ogc:PropertyNameWORKSPACE:idr/ogc:PropertyName
 ogc:Literal99/ogc:Literal
 /ogc:PropertyIsLike
 /ogc:Filter
 /wfs:Query
 /wfs:GetFeature


 and then to generate something like that

 http://myip:80/geoserver/WORKSPACE/wms?SERVICE=WMSversion=1.1.1request=GetMapservice=WMSlayers=WORKSPACE%3ALAYER%2CWORKSPACE%3ALAYER2styles=STYLE1%2CSTYLE2srs=EPSG%3A3945bbox=99917415.506863%2C42545544604.77%2C1918108.093536%2C4225124.21width=600height=450format=image%2Fpngbgcolor=0xfftransparent=TRUEexceptions=application%2Fvnd.ogc.se_inimage

 My problem is that Is don't know how to calcute the bbox around an obect
 using information obtain by the first request maybe with gml:coordinates

 Don't know if I'm clear and if it's the best way to do this


Go into the WFS configuration and make it emit the bbox for the features,
that
way you already have it available for usage in the GML

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Error

2011-10-13 Thread Andreas Mitrou
Hello Everyone ,
 
I have an installation environment in a virtual machine with CentOS 5.5.6 as 
operating system , Tomcat 5.5.23, JDK 1.6.0.24,  Geoserver 2.1-RC2, Geonetwork. 
By the time the administrator upgraded CPU and RAM geoserver throws an error on 
tomcat start up 
validateJarFile(/home/mikevdg/tomcat/webapps/geoserver_2.1/WEB-INF/lib/servlet-api-2.4.jar)
 - jar not loaded.  Offending class: javax/servlet/Servlet.class. After tomcat 
starts in tomcat manager, geoserver is not started and when i am trying to 
start it i get FAIL - Application at context path /geoserver could not be 
started.
 
I disabled AdvancedDispatchFilter in web.xml and 
afterwards i remove the servlet-api-2.4 jar from
geoserver/WEB-INF/lib and tomcat crashes.
 
Also i shoud inform you that i am facing also a problem with geonetwork but not 
with the same error messages (the errors are relative with the address that is 
running)
 
Could you please help me?
 


 --
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Create a not advertised layer using rest in Geoserver 2.1.2

2011-10-13 Thread Fernando Barbat
Hi,

I tried to create a not advertised layer using REST by adding this to the
feature type definition:

  metadata
entry key=advertisedfalse/entry
  /metadata

However, Geoserver creates a layer which does not follow that configuration
parameter, i.e. it is advertised.

How can I create a layer which is initially not advertised?

Thanks.
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] problem with World Image Format in Geoserver 2.1.1

2011-10-13 Thread Garey Mills
I have aTIFF with with both a world file and a prj file. When I attempt 
to load it into Geoserver, I get the following:
 Could not list layers for this store, an error occurred retrieving 
them: Unable to acquire a reader for this coverage with format: WorldImage


Googling it, the suggestion was that the .prj file was missing. Here is 
a sample of what I have in my Geoserver data directory


g4450_s100_b7_sc-21-v-a-iii_GeoWGS84.tif
g4450_s100_b7_sc-21-v-a-iii_GeoWGS84.prj
g4450_s100_b7_sc-21-v-a-iii_GeoWGS84.tfw

The .prj file looks like this:

GEOGCS[WGS 84,
DATUM[WGS_1984,
SPHEROID[WGS 84,6378137,298.257223563,
AUTHORITY[EPSG,7030]],
AUTHORITY[EPSG,6326]],
PRIMEM[Greenwich,0,
AUTHORITY[EPSG,8901]],
UNIT[degree,0.01745329251994328,
AUTHORITY[EPSG,9122]],
AUTHORITY[EPSG,4326]]

When creating the store, the connection parameters are:

file:data/geoTiffs/g4450_s100_b7_sc-21-v-a-iii_GeoWGS84.tif


and here is the relevant part of the log file:

13 Oct 09:41:31 ERROR [gce.image] - No reader avalaible for this source
org.geotools.data.DataSourceException: No reader avalaible for this source
at 
org.geotools.gce.image.WorldImageReader.getHRInfo(WorldImageReader.java:293)
at 
org.geotools.gce.image.WorldImageReader.init(WorldImageReader.java:263)
at 
org.geotools.gce.image.WorldImageFormat.getReader(WorldImageFormat.java:344)
at 
org.geotools.gce.image.WorldImageFormat.getReader(WorldImageFormat.java:55)
at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:973)
at 
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:624)
at 
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:82)
at 
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:225)
at 
org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:488)
at 
org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.init(GeoServerTablePanel.java:481)
at 
org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:200)
at 
org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:91)
at 
org.geoserver.web.data.layer.NewLayerPage$1.init(NewLayerPage.java:104)
at 
org.geoserver.web.data.layer.NewLayerPage.init(NewLayerPage.java:104)
at 
org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
at 
org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:114)
at 
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
at 
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
at 
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at 
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at 
org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTar

get.java:119)
at 
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:9

2)
at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at 
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at 
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingControl

ler.java:158)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

ava:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 

Re: [Geoserver-users] WMS App on geoserver homepage not working

2011-10-13 Thread Gabriel Roldan
Hi Rudolf,

I don't know why it might have been unavailable, but looks to be working now?

On Mon, Oct 10, 2011 at 7:44 AM, Hochmeister Rudolf
rudolf.hochmeis...@wien.gv.at wrote:
 Hi

 I copied a request from the WMS-App:

 http://maps.opengeo.org/geowebcache/service/wms?LAYERS=openstreetmapFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG%3A900913BBOX=-5009377.085,-5009377.085,-2504688.5425,-2504688.5425WIDTH=256HEIGHT=256

 runs into a 'Service Temporarily Unavailable'

 Rudi Hochmeister
 Magistrat der Stadt Wien
 MA 14 - ADV - Referat AG2
 A 1082 Wien, Rathausstraße 1
 Email: rudolf.hochmeis...@wien.gv.at
 Telefon: (+43 1) 4000 91119



 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2dcopy1
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] OpenLayers in preview

2011-10-13 Thread Stephen V. Mather
Hi All,

I really like that I can use the built in preview mode to
control the starting place of an automatically built OpenLayers, e.g.

 

http://localhost:8080/geoserver/wms?service=WMS
http://localhost:8080/geoserver/wms?service=WMSversion=1.1.0request=GetMa
players=Simple%20Basemapstyles=bbox=2138219,591080,2176457,622732width=5
12height=500srs=EPSG:3734format=application/openlayers
version=1.1.0request=GetMaplayers=Simple%20Basemapstyles=bbox=2138219,5
91080,2176457,622732width=512height=500srs=EPSG:3734format=application/o
penlayers

 

and modify the bbox parameter and the width parameter.  Is there any way,
trivial or otherwise, to apply this approach to a cached resource?

 

Best,

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

s...@clevelandmetroparks.com
 http://www.clemetparks.com/ clevelandmetroparks.com

 

 

 

 

image001.png--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-13 Thread Phil Scadden
On 13/10/2011 8:48 p.m., Agelos Pappas wrote:
 I have the latest OpenLayers version, but I don't believe it is a 
 OpenLayers issue. As you can see in the images and as I have already 
 stated, the geometries wrap fine around the IDL. It's just the labels 
 that are left out. If I add a layer that contains polygons for 
 example, the shapes will appear on both sides, as the world map does. 
 But the labels only appear once.
 P.S. When I say labels, I mean textsymbolizer tags.
OK. I am sorry but I am not reproducing here at all. I am seeing text 
symbolizer tags from lines, points and polygons on both side of the 180. 
I am projecting to 900913. Geoserver 2.1.1 and Openlayers 2.11


-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] OpenLayers in preview

2011-10-13 Thread Benjamin Mearns
Hi Stephen,

Just go to the GWC demo page: http://localhost:8080/geoserver/gwc/demo and
pick the relevant layer ... think those params will mostly work there work
too.

Ben

On Thu, Oct 13, 2011 at 3:27 PM, Stephen V. Mather 
s...@clevelandmetroparks.com wrote:

  Hi All,

 I really like that I can use the built in preview mode to
 control the starting place of an automatically built OpenLayers, e.g.

 ** **


 http://localhost:8080/geoserver/wms?service=WMSversion=1.1.0request=GetMaplayers=Simple%20Basemapstyles=bbox=2138219,591080,2176457,622732width=512height=500srs=EPSG:3734format=application/openlayers
 

 ** **

 and modify the bbox parameter and the width parameter.  Is there any way,
 trivial or otherwise, to apply this approach to a cached resource?

 ** **

 Best,

 ** **

 **[image: http://www.clemetparks.com/images/esig/cmp-ms-90x122.png]**Stephen
 Mather
 Geographic Information Systems (GIS) Manager
 (216) 635-3243

 s...@clevelandmetroparks.com
 clevelandmetroparks.com http://www.clemetparks.com/

 ** **

 ** **

 ** **

 ** **


 --
 All the data continuously generated in your IT infrastructure contains a
 definitive record of customers, application performance, security
 threats, fraudulent activity and more. Splunk takes this data and makes
 sense of it. Business sense. IT sense. Common sense.
 http://p.sf.net/sfu/splunk-d2d-oct
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Ben Mearns
Lead Geospatial Information Consultant
IT-Client Support  Services
University of Delaware
mea...@udel.edu : 302.831.1978
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users