Re: [Geoserver-users] INSPIRE Stored Query Definition

2012-12-06 Thread Jürgen Weichand

Hello Justin,

I want to dump all the data. Also tried the following statements 
(GeoServer 2.2).


Best regards
Juergen


wfs:CreateStoredQuery service=WFS version=2.0.0
   xmlns=http://www.opengis.net/wfs/2.0;
   xmlns:wfs=http://www.opengis.net/wfs/2.0;
   xmlns:gml=http://www.opengis.net/gml/3.2;
   xmlns:fes=http://www.opengis.net/fes/2.0;
   
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

   xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xmlns:bvv=http://www.geodaten.bayern.de;
   
xsi:schemaLocation=http://www.opengis.net/wfs/2.0 
http://schemas.opengis.net/wfs/2.0/wfs.xsd 
http://www.opengis.net/gml/3.2 
http://schemas.opengis.net/gml/3.2.1/gml.xsd; 
xmlns:ns1=http://www.opengis.net/ows/1.1;
wfs:StoredQueryDefinition 
id=urn:wei:def:query:OGC-WFS::InspireStoredQueryExample

TitleINSPIRE pre-defined WFS - Stored Query Beispiel/Title
AbstractStored Query für den Download des Geodatensatzes 'OpenData 
Verwaltungsgrenzen Bayern'/Abstract

!-- Koordinatenreferenzsystem z.B: urn:ogc:def:crs:EPSG::31468 --
wfs:Parameter name=CRS type=xsd:string /
!-- Datensatzidentifikator - im Beispiel ohne Funktion --
wfs:Parameter name=DataSetId type=xsd:string /
!-- Sprache - im Beispiel ohne Funktion --
wfs:Parameter name=Language type=xsd:string /
wfs:QueryExpressionText returnFeatureTypes=bvv:bayern_ex bvv:lkr_ex 
bvv:gmd_ex bvv:regbez_ex bvv:vg_ex 
language=urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression

wfs:Query typeNames=bvv:bayern_ex srsName=${CRS}/
wfs:Query typeNames=bvv:lkr_ex srsName=${CRS}/
wfs:Query typeNames=bvv:gmd_ex srsName=${CRS}/
wfs:Query typeNames=bvv:regbez_ex srsName=${CRS}/
wfs:Query typeNames=bvv:vg_ex srsName=${CRS}/
/wfs:QueryExpressionText
/wfs:StoredQueryDefinition
/wfs:CreateStoredQuery

-- Response

ows:Exception exceptionCode=OperationProcessingFailed 
locator=CreateStoredQuery
ows:ExceptionTextError validating stored query 
org.xml.sax.SAXParseException: The markup in the document following the 
root element must be well-formed. The markup in the document following 
the root element must be well-formed./ows:ExceptionText

/ows:Exception







wfs:CreateStoredQuery service=WFS version=2.0.0
   xmlns=http://www.opengis.net/wfs/2.0;
   xmlns:wfs=http://www.opengis.net/wfs/2.0;
   xmlns:gml=http://www.opengis.net/gml/3.2;
   xmlns:fes=http://www.opengis.net/fes/2.0;
   
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

   xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xmlns:bvv=http://www.geodaten.bayern.de;
   
xsi:schemaLocation=http://www.opengis.net/wfs/2.0 
http://schemas.opengis.net/wfs/2.0/wfs.xsd 
http://www.opengis.net/gml/3.2 
http://schemas.opengis.net/gml/3.2.1/gml.xsd; 
xmlns:ns1=http://www.opengis.net/ows/1.1;
wfs:StoredQueryDefinition 
id=urn:wei:def:query:OGC-WFS::InspireStoredQueryExample

TitleINSPIRE pre-defined WFS - Stored Query Beispiel/Title
AbstractStored Query für den Download des Geodatensatzes 'OpenData 
Verwaltungsgrenzen Bayern'/Abstract

!-- Koordinatenreferenzsystem z.B: urn:ogc:def:crs:EPSG::31468 --
wfs:Parameter name=CRS type=xsd:string /
!-- Datensatzidentifikator - im Beispiel ohne Funktion --
wfs:Parameter name=DataSetId type=xsd:string /
!-- Sprache - im Beispiel ohne Funktion --
wfs:Parameter name=Language type=xsd:string /
wfs:QueryExpressionText returnFeatureTypes=bvv:bayern_ex bvv:lkr_ex 
bvv:gmd_ex bvv:regbez_ex bvv:vg_ex 
language=urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression
wfs:Query typeNames=schema-element(gml:AbstractFeature) 
srsName=${CRS}/

/wfs:QueryExpressionText
/wfs:StoredQueryDefinition
/wfs:CreateStoredQuery

-- Response

ows:Exception exceptionCode=OperationProcessingFailed 
locator=CreateStoredQuery
ows:ExceptionTextError validating stored query 
org.geoserver.wfs.WFSException: Unknown namespace [schema-element(gml] 
Unknown namespace [schema-element(gml]/ows:ExceptionText

/ows:Exception








Am 05.12.2012 16:17, schrieb Justin Deoliveira:

Hi Juergen,

In WFS 2.0 when you specify a single query with multiple type names it 
implies you are doing a join which requires a filter to define the 
join condition. Is that what you are actually wanting to do?


If you just want to dump all the data without ajoin you need to use 
multiple Query elements, each with a single type name:


wfs:Query typeNames=bvv:bayern_ex srsName=${CRS} /
wfs:Query typeNames=bvv:lkr_ex srsName=${CRS} /
etc

-Justin


On Tue, Dec 4, 2012 at 4:49 AM, Jürgen Weichand 
juergen.weich...@bvv.bayern.de 
mailto:juergen.weich...@bvv.bayern.de wrote:


Hello List,

   

Re: [Geoserver-users] [Fwd: Re: Problem with OWS GeoServer 2.2.2]

2012-12-06 Thread Stefano Iacovella
2012/12/6 Quesnel Anne aques...@univ-lille2.fr:
 I have a problem for publishing map in the section of the
 tutorial:GeoServer 2.2.x User Manual » Getting Started » Publishing a
 Shapefile
 http://docs.geoserver.org/stable/en/user/gettingstarted/shapefile-quickstart/index.html

 with the weblink openlayers and  the example nyc-roads there is
 no map inside the openlayers environment.

I would try to see requests sent by OpenLayers client.
You can use Firebug on the client side or look in the geoserver log
and find the GetMap request.

Kind Regards,

Stefano

---
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver upgrade

2012-12-06 Thread Alvey,David (Chief Executives)
Hi is there any special steps to upgrade from 2.1.3 to 2.2.2 on a windows 
server. We attempted it last night but could not get geoserver to restart. 
Plenty of loggs where generated but to be honest they do not mean much to us. 
In the end we had to role back the server.

Does the data dir contain all that is needed to transfer settings from one 
geoserver install to another?

Cheers in advance.

**
Think before you print! Save energy and paper.
Do you really need to print this email?

Derbyshire County Council works to improve the lives of local people by 
delivering high quality services.
You can find out more about us by visiting 'www.derbyshire.gov.uk'.  If you 
want to work for us go to our job pages on 'www.derbyshire.gov.uk/jobs'.  You 
can register for e-mail alerts, download job packs and apply on-line.

**
Please Note:

This email is confidential, may be legally privileged and may contain personal 
views that are not the views of Derbyshire County Council. It is intended 
solely for the addressee. If this email was sent to you in error please notify 
us by replying to the email. Once you have done this please delete the email 
and do not disclose, copy, distribute, or rely on it.

Under the Data Protection Act 1998 and the Freedom of Information Act 2000 the 
contents of this email may be disclosed.

Derbyshire County Council reserves the right to monitor both sent and received 
emails.

**



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] CSS Question

2012-12-06 Thread Chris Haste
Hello list!

I am using an SQL view which returns multiple geometries in each row.
Each row represents a trip and contains  Departure and Destination points and a 
linestring representing the route taken.
I'm not sure how to use CSS to define different symbols based on the SQL 
columns. E.g. use a triangle for the Departure and a square for the Destination
I would like to do something like this:
[Departure]{
  mark:symbol(triangle);
}

[Destination]{
  Mark:symbol(square);
}

But that doesn't appear to be the way to go ;)

Any help appreciated!

Chris
*** This communication has been sent from World Fuel Services 
Corporation or its subsidiaries or its affiliates for the intended recipient 
only and may contain proprietary, confidential or privileged information. 
If you are not the intended recipient, any review, disclosure, copying, 
use, or distribution of the information included in this communication 
and any attachments is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to this 
communication and delete the communication, including any 
attachments, from your computer. Electronic communications sent to or 
from World Fuel Services Corporation or its subsidiaries or its affiliates 
may be monitored for quality assurance and compliance purposes.***

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Styling with the CSS module

2012-12-06 Thread Matthias Uden
Hi all,

I've recently discovered the CSS module as an alternative to SLD styling 
and I'm quite enthusiastic about it. Still, I cannot accomplish 
everything I used to do with SLD before...

Here are two specific questions:

1) When specifying a custom icon for a mark with url(...), is it 
possible to get a relative path in the generated SLD instead of an 
absolute one? Also, is there a possibility to specify the format of that 
image correctly? Currently, it is always converted to jpeg, even when I 
put in a png...

Example:
CSS:
mark: url('icons/entry.png');

SLD:
sld:ExternalGraphic
sld:OnlineResource xmlns:xlink=http://www.w3.org/1999/xlink; 
xlink:type=simple 
xlink:href=file:/home/muden/test_geoserver/wms/map/geoserver/test_geoserver/styles/icons/entry.png/
 
sld:Formatimage/jpeg/sld:Format
/sld:ExternalGraphic




2) Specifying an attributes value dynamically using a column of the 
underlying DB table works fine for e.g. labels. However, it doesn't work 
for colors.

Example (working):
CSS:
label: [key];

SLD:
sld:Label
ogc:PropertyNamekey/ogc:PropertyName
/sld:Label

Example (not working):
CSS:
fill: [color];

SLD:
sld:Fill/


Any help is appreciated!
Thanks in advance and all the best,
Matthias




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Fwd: Re: Problem with OWS GeoServer 2.2.2]

2012-12-06 Thread Stefano Iacovella
2012/12/6 Quesnel Anne aques...@univ-lille2.fr:


 Hi Stefano,
 here there is an extrait of the log file of this morning in attached file.
 I ve just got Firebug today, so i prefer read on log file the resume at
 the moment.

Looking at the log file I can't see any error.
All the requests contained was from the OpenLayers preview App?
If you open the Firebug console you can look at the request performed
by the client and the Server response, you can also copy the request
and perform it with an other client, e.g. curl or the browser itself
in another tab, to see what happens.
Alternatively you may want to raise the log detail,
http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
and monitor it with

tail -f /path to your log file

Then when you perform an action on the map should see the log output
in the terminal.

Kind Regards,

Stefano

---
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Can gsconfig.py be used to automatically add a store and layer into
Geoserver, or do I need to do that first manually?

Is there anyway to automatically create a store and layer through the API?

Thanks!
Katie



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021208.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread David Winslow
Yes, gsconfig can automatically create layers, layergroups, (vector and
raster) resources, datastores, coveragestores, styles, and workspaces.
Have you seen the examples at
https://github.com/dwins/gsconfig.py/tree/master/examples and
https://github.com/dwins/gsconfig.py/blob/master/test/catalogtests.py ? The
tests in particular demonstrate most of what gsconfig supports.

--
David Winslow
OpenGeo - http://opengeo.org/


On Thu, Dec 6, 2012 at 8:53 AM, Katie Essadro katieessa...@gmail.comwrote:

 Can gsconfig.py be used to automatically add a store and layer into
 Geoserver, or do I need to do that first manually?

 Is there anyway to automatically create a store and layer through the API?

 Thanks!
 Katie



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021208.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Automating creation of Image Pyrmid store with Geoserver's REST API?

2012-12-06 Thread Katie Essadro
Hello,

Geoserver has a REST API to automate Geoserve commands, however I do not see
any examples of how to automatically create an Image Pyramid store and
associated layer. Is that possible? Can anyone provide me sample code?

Thanks! Katie




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Automating-creation-of-Image-Pyrmid-store-with-Geoserver-s-REST-API-tp5021221.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Fwd: Re: Problem with OWS GeoServer 2.2.2]

2012-12-06 Thread Quesnel Anne
I' ve got two warning messages on the firebug console

related to the nyc_roads openlayers map preview tab on my browser

1 -moz-border-radius: 1em 0 0 0; style.css (ligne 70, col. 24)


2 filter: alpha(opacity=50);  style.css (ligne 232, col. 18)


3 and I've got one error message:

The character encoding of the HTML document was not declared. The document
will render with garbled text in some browser configurations if the
document contains characters from outside the US-ASCII range. The
character encoding of the page must to be declared in the document or in
the transfer protocol.


thank you for this interesting command line.
 tail -f /path to your log file

I am still learning on firebug...
Thank for your help

 2012/12/6 Quesnel Anne aques...@univ-lille2.fr:


 Hi Stefano,
 here there is an extrait of the log file of this morning in attached
 file.
 I ve just got Firebug today, so i prefer read on log file the resume at
 the moment.

 Looking at the log file I can't see any error.
 All the requests contained was from the OpenLayers preview App?
 If you open the Firebug console you can look at the request performed
 by the client and the Server response, you can also copy the request
 and perform it with an other client, e.g. curl or the browser itself
 in another tab, to see what happens.
 Alternatively you may want to raise the log detail,
 http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html,
 and monitor it with

 tail -f /path to your log file

 Then when you perform an action on the map should see the log output
 in the terminal.

 Kind Regards,

 Stefano

 ---
 41.95581N 12.52854E


 http://www.linkedin.com/in/stefanoiacovella

 http://twitter.com/#!/Iacovellas



-- 
Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
http://quesnela.free.fr/

--
Adresse physique
CHRU de Lille,
Pôle de Santé Publique.
Unité de Conseils Méthodologiques: Dr A Duhamel
Coordinateur du pôle: Pr Beuscart Régis.

--
Adresse Postale:
Anne Quesnel
CHRU de Lille,
SEDAF - Parc Eurasanté
Pôle de Santé Publique.
Bâtiment Hippocrate
154 rue du Dr Yersin
59037 Lille cedex
--
Tel en interne poste 36100
Secrétariat jusque 16h : 03 20 44 55 18
Après 16h : 03 20 44 59 62 poste 36100
Fax : 03 20 44 69 45


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] CSS Question

2012-12-06 Thread David Winslow
I added some examples to the examples page about this topic. It'll be a
little while before it shows up on docs.geoserver.org, but you can see it
immediately at:

https://github.com/geoserver/geoserver/blob/master/doc/en/user/source/community/css/examples.rst

Hope it clears things up for you!

--
David Winslow
OpenGeo - http://opengeo.org/


On Thu, Dec 6, 2012 at 5:14 AM, Chris Haste cha...@airdata.co.uk wrote:

 Hello list!

 ** **

 I am using an SQL view which returns multiple geometries in each row.

 Each row represents a trip and contains  Departure and Destination points
 and a linestring representing the route taken.

 I’m not sure how to use CSS to define different symbols based on the SQL
 columns. E.g. use a triangle for the Departure and a square for the
 Destination

 I would like to do something like this:

 [Departure]{

   mark:symbol(triangle);

 }

 ** **

 [Destination]{

   Mark:symbol(square);

 }

 ** **

 But that doesn’t appear to be the way to go ;)

 ** **

 Any help appreciated!

 ** **

 Chris

 *** This communication has been sent from World Fuel Services
 Corporation or its subsidiaries or its affiliates for the intended
 recipient
 only and may contain proprietary, confidential or privileged information.
 If you are not the intended recipient, any review, disclosure, copying,
 use, or distribution of the information included in this communication
 and any attachments is strictly prohibited. If you have received this
 communication in error, please notify us immediately by replying to this
 communication and delete the communication, including any
 attachments, from your computer. Electronic communications sent to or
 from World Fuel Services Corporation or its subsidiaries or its affiliates
 may be monitored for quality assurance and compliance purposes.***



 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Does example code exist anywhere to create the image payramid store?

In catalog.py I see:

def create_coveragestore(self, name, data, workspace=None,
overwrite=False):

I have no idea what I need to be passing to the self and data
parameters. Can you please help?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021233.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling with the CSS module

2012-12-06 Thread David Winslow
*Relative Paths for Icons
*The short answer is, no, you can't make it do that.  The problem is that
the CSS-SLD converter actually uses GeoTools' SLD writing code to generate
the SLD files, and GeoTools' SLD support is not symmetric (I mean it cannot
write everything that it can read.)  Resolving relative paths into absolute
ones is a compromise between the actually desired behavior and not
supporting relative paths at all.  This could probably be fixed at the
GeoTools level, but I haven't taken the time to inquire into why this
asymmetry was built in in the first place.

Why are relative paths a problem for you? Maybe there is a workaround that
could be used (for example, if it's a problem with relocating data
directories, I could add a tool to re-convert all CSS styles which would
re-resolve the paths.)
*
Icon Media Types*
The image type logic is not as sophisticated as you might expect - things
like dynamic symbolizers[1] make it impossible to know the media type for
the image in general, so I just threw my hands up and made it literally
'image/jpeg' if you don't specify.  You can provide the media type
explicitly with the *fill-mime*, *stroke-mime*, *mark-mime*, or *shield-mime
* property.  For example:

* {
  fill: url(pattern.png);
  fill-mime: image/png;
}

I don't guess it would be too hard to make the CSS-SLD converter try to
look up the icon and inspect it to provide the default, but this is not as
big a priority to me as rendering transformations.  If you want to look
into it let me know and I can give you some pointers on what's needed.

*Dynamic Color*
This is simply a bug (the color handling is a bit more complex than the
label handling, to allow for rgb() color syntax.)  Again, this is probably
easily fixable given the time to work on it; I'd say even easier than smart
defaults for the icon mime-type property.

If you'd like to file bugs against GeoScript-Scala[2] I'll keep them
up-to-date if and when I get around to working on these problems.


[1]: http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
[2]: https://github.com/dwins/geoscript.scala/issues


On Thu, Dec 6, 2012 at 7:53 AM, Matthias Uden matthias.u...@gmail.comwrote:

 Hi all,

 I've recently discovered the CSS module as an alternative to SLD styling
 and I'm quite enthusiastic about it. Still, I cannot accomplish
 everything I used to do with SLD before...

 Here are two specific questions:

 1) When specifying a custom icon for a mark with url(...), is it
 possible to get a relative path in the generated SLD instead of an
 absolute one? Also, is there a possibility to specify the format of that
 image correctly? Currently, it is always converted to jpeg, even when I
 put in a png...

 Example:
 CSS:
 mark: url('icons/entry.png');

 SLD:
 sld:ExternalGraphic
 sld:OnlineResource xmlns:xlink=http://www.w3.org/1999/xlink;
 xlink:type=simple

 xlink:href=file:/home/muden/test_geoserver/wms/map/geoserver/test_geoserver/styles/icons/entry.png/
 sld:Formatimage/jpeg/sld:Format
 /sld:ExternalGraphic




 2) Specifying an attributes value dynamically using a column of the
 underlying DB table works fine for e.g. labels. However, it doesn't work
 for colors.

 Example (working):
 CSS:
 label: [key];

 SLD:
 sld:Label
 ogc:PropertyNamekey/ogc:PropertyName
 /sld:Label

 Example (not working):
 CSS:
 fill: [color];

 SLD:
 sld:Fill/


 Any help is appreciated!
 Thanks in advance and all the best,
 Matthias





 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] INSPIRE Stored Query Definition

2012-12-06 Thread Justin Deoliveira
Hmmm... the first error indicates a syntax error but i don't see one in
your document so probably a bug. Which isn't surprising, afaik stored
queries haven't see much use yet from users, the implemetation there was
sort of the minimum to tick off that requirement for wfs 2.0

Could you open a bug report in JIRA. Ideally using examples that will work
against the vanilla GeOServer configuration. Thanks.

-Justin


On Thu, Dec 6, 2012 at 1:35 AM, Jürgen Weichand 
juergen.weich...@bvv.bayern.de wrote:

  Hello Justin,

 I want to dump all the data. Also tried the following statements
 (GeoServer 2.2).

 Best regards
 Juergen



 wfs:CreateStoredQuery service=WFS version=2.0.0

 xmlns=http://www.opengis.net/wfs/2.0;http://www.opengis.net/wfs/2.0

 xmlns:wfs=http://www.opengis.net/wfs/2.0;http://www.opengis.net/wfs/2.0

 xmlns:gml=http://www.opengis.net/gml/3.2;http://www.opengis.net/gml/3.2

 xmlns:fes=http://www.opengis.net/fes/2.0;http://www.opengis.net/fes/2.0
xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;http://www.w3.org/2001/XMLSchema-instance

 xmlns:xsd=http://www.w3.org/2001/XMLSchema;http://www.w3.org/2001/XMLSchema

 xmlns:bvv=http://www.geodaten.bayern.de;http://www.geodaten.bayern.de
xsi:schemaLocation=http://www.opengis.net/wfs/2.0
 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2
 http://schemas.opengis.net/gml/3.2.1/gml.xsd;http://www.opengis.net/wfs/2.0http://schemas.opengis.net/wfs/2.0/wfs.xsdhttp://www.opengis.net/gml/3.2http://schemas.opengis.net/gml/3.2.1/gml.xsdxmlns:ns1=
 http://www.opengis.net/ows/1.1; http://www.opengis.net/ows/1.1
 wfs:StoredQueryDefinition
 id=urn:wei:def:query:OGC-WFS::InspireStoredQueryExample
 TitleINSPIRE pre-defined WFS - Stored Query Beispiel/Title
 AbstractStored Query für den Download des Geodatensatzes
 'OpenData Verwaltungsgrenzen Bayern'/Abstract
 !-- Koordinatenreferenzsystem z.B: urn:ogc:def:crs:EPSG::31468 --

 wfs:Parameter name=CRS type=xsd:string /
 !-- Datensatzidentifikator - im Beispiel ohne Funktion --
 wfs:Parameter name=DataSetId type=xsd:string /
 !-- Sprache - im Beispiel ohne Funktion --
 wfs:Parameter name=Language type=xsd:string /
 wfs:QueryExpressionText returnFeatureTypes=bvv:bayern_ex
 bvv:lkr_ex bvv:gmd_ex bvv:regbez_ex bvv:vg_ex
 language=urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression
 wfs:Query typeNames=bvv:bayern_ex srsName=${CRS}/
 wfs:Query typeNames=bvv:lkr_ex srsName=${CRS}/
 wfs:Query typeNames=bvv:gmd_ex srsName=${CRS}/
 wfs:Query typeNames=bvv:regbez_ex srsName=${CRS}/
 wfs:Query typeNames=bvv:vg_ex srsName=${CRS}/

 /wfs:QueryExpressionText
 /wfs:StoredQueryDefinition
 /wfs:CreateStoredQuery

 -- Response

 ows:Exception exceptionCode=OperationProcessingFailed
 locator=CreateStoredQuery
   ows:ExceptionTextError validating stored query
 org.xml.sax.SAXParseException: The markup in the document following the
 root element must be well-formed. The markup in the document following the
 root element must be well-formed./ows:ExceptionText
 /ows:Exception






 


 wfs:CreateStoredQuery service=WFS version=2.0.0

 xmlns=http://www.opengis.net/wfs/2.0;http://www.opengis.net/wfs/2.0

 xmlns:wfs=http://www.opengis.net/wfs/2.0;http://www.opengis.net/wfs/2.0

 xmlns:gml=http://www.opengis.net/gml/3.2;http://www.opengis.net/gml/3.2

 xmlns:fes=http://www.opengis.net/fes/2.0;http://www.opengis.net/fes/2.0
xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;http://www.w3.org/2001/XMLSchema-instance

 xmlns:xsd=http://www.w3.org/2001/XMLSchema;http://www.w3.org/2001/XMLSchema

 xmlns:bvv=http://www.geodaten.bayern.de;http://www.geodaten.bayern.de
xsi:schemaLocation=http://www.opengis.net/wfs/2.0
 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2
 http://schemas.opengis.net/gml/3.2.1/gml.xsd;http://www.opengis.net/wfs/2.0http://schemas.opengis.net/wfs/2.0/wfs.xsdhttp://www.opengis.net/gml/3.2http://schemas.opengis.net/gml/3.2.1/gml.xsdxmlns:ns1=
 http://www.opengis.net/ows/1.1; http://www.opengis.net/ows/1.1
 wfs:StoredQueryDefinition
 id=urn:wei:def:query:OGC-WFS::InspireStoredQueryExample
 TitleINSPIRE pre-defined WFS - Stored Query Beispiel/Title
 AbstractStored Query für den Download des Geodatensatzes
 'OpenData Verwaltungsgrenzen Bayern'/Abstract
 !-- 

Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread David Winslow
No, I don't know of anyone using gsconfig to operate on pyramid stores.  To
my knowledge, it should be possible, but I don't have an example.

'self' is going to be provided by Python, you don't need to pass a value in
your own code.  data can be one of:

   - path to a ZIP archive or single-file coverage file (like a tiff.)
   - already-opened zip-archive or single-file coverage file
   - dict of files by extension which will be zipped up and uploaded (like:
   { 'tfw': '/path/to/file.tfw', 'tif': '/path/to/file.tif' })

I don't think it's common practice to upload a pyramid through the REST API
so you will probably have better luck with create_coveragestore2 (which
allows you to specify a path to a file already on the server.).  When you
use create_coveragestore2 what sort of 'crash' do you see? Can you post the
error message?   I think all you need to do may be to add (before saving):

ds.type = ImagePyramid

--
David Winslow
OpenGeo - http://opengeo.org/




On Thu, Dec 6, 2012 at 9:56 AM, Katie Essadro katieessa...@gmail.comwrote:

 Does example code exist anywhere to create the image payramid store?

 In catalog.py I see:

 def create_coveragestore(self, name, data, workspace=None,
 overwrite=False):

 I have no idea what I need to be passing to the self and data
 parameters. Can you please help?



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021233.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Ok, I tried using create_coveragestore2 like so:

cat = Catalog(http://localhost:8080/geoserver/rest;)
ds = cat.create_coveragestore2(aiptest1)
ds.data_url = file:C:/Users/katie/Desktop/test/cablepyramid
ds.type = ImagePyramid
cat.save(ds) 

Here is the error:

builtins.NameError: global name 'basestring' is not defined
File
C:\Python32\Lib\site-packages\gsconfig-0.6.1-py3.2.egg\geoserver\catalog.py,
line 240, in create_coveragestore2
  if isinstance(workspace, basestring):

Any idea what I did wrong?

Thanks!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021247.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
I tried:

ds = cat.create_coveragestore(aiptest1,
file:C:/Users/chw12/Desktop/test/cablepyramid, cable)  

where aiptest1 is the name of the store I want to create, and cable is
the name of my workspace. I get this error:

builtins.NameError: global name 'basestring' is not defined
File
C:\Python32\Lib\site-packages\gsconfig-0.6.1-py3.2.egg\geoserver\catalog.py,
line 192, in get_store
  if isinstance(workspace, basestring):

Am I stupid, or is this incredibly difficult to use?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021237.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread David Winslow
Well, gsconfig.py is not a very mature library - it is developed first for
the needs of the GeoNode project and if it turns out to be useful for
others like you, that's great. But it is definitely rough around the edges
(and actually getting worse as the GeoServer REST API expands and the very
small body of gsconfig developers is not able to keep up.)  So yes, it's
difficult to use (I wouldn't say incredibly, but perhaps I am in a biased
position.)

This latest error is due to you running on Python 3, which gsconfig has not
yet been tested with.  Apparently some development work is needed to reach
compatibility - if you are able to downgrade to Python 2.7 that would
probably be the most expedient approach, but if you're interested in
helping to bring gsconfig up to Python 3 compatibility we'd appreciate the
help.

--
David Winslow
OpenGeo - http://opengeo.org/


On Thu, Dec 6, 2012 at 10:11 AM, Katie Essadro katieessa...@gmail.comwrote:

 I tried:

 ds = cat.create_coveragestore(aiptest1,
 file:C:/Users/chw12/Desktop/test/cablepyramid, cable)

 where aiptest1 is the name of the store I want to create, and cable is
 the name of my workspace. I get this error:

 builtins.NameError: global name 'basestring' is not defined
 File

 C:\Python32\Lib\site-packages\gsconfig-0.6.1-py3.2.egg\geoserver\catalog.py,
 line 192, in get_store
   if isinstance(workspace, basestring):

 Am I stupid, or is this incredibly difficult to use?



 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021237.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Ok I didn't mean to insult you in anyway when I said this was difficult to
use. It's most likely me, because I am new to this stuff :)

Anyway, I downgraded to 2.7, and the code didn;t throw any bugs, but when I
went into Geoserver I did notice this:

I set the file URL to be:

ds.data_url = file:C:/Users/kaite/Desktop/test/cablepyramid

and in Geoserver it says:

file:data/

Any idea why the ds.data_url did not work?

Thanks!!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021265.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] content.ftl ignored if SLD contains 20 (OGC filter?) rules

2012-12-06 Thread movermeyer
Details
-Geoserver 2.2 running on Apache Tomcat 7.0.30


Hello, I have been searching for some time but haven't found anything to do
with this specific issue yet...

I am looking to style  20 types of records based on an attribute's value.
But when I do, GetFeatureInfo requests ignore my content.ftl file.

Thorough steps to reproduce (Skip to the end for screenshots): 

1. On a stock Geoserver installation, modify web.xml so that
MAX_FILTER_RULES  21, for example:
  context-param
param-nameMAX_FILTER_RULES/param-name
param-value100/param-value
  /context-param
2. Start Geoserver and navigate to the admin web
interface(http://localhost:8080/geoserver/web/)
3. Go to the Styles tab and select Add a new style
4. Set the name to Point_broken and add the following to the style:


Notice that this is the default Point style, but with 20 very similar rules.

5. Go to Layers-archsites-Publishing tab. Change Default Style to
Point_broken. Save the change.
6. Create the file content.ftl in geoserver/data/workspaces/sf with the
following content:
  
7. Select Layer Preview and the OpenLayers link for sf:archsites
8. Select any triangle in the display. It will display the string We have
found a cat!
9. Go to the Styles tab and select Point_broken
10. Add another rule to the style:



Save the change.

11. Select Layer Preview and the OpenLayers link for sf:archsites
12. Select any triangle in the display. It ignores our content.ftl, and
displays the default table of values

Why is this? The example may be slightly contrived, but it shows what I'm
trying to do. I am looking to style  20 types of records based on an
attribute's value.

Is this a known bug? It seems suspicious that it fails at the same value as
the default MAX_FILTER_RULES value.

Here are some screenshots:
20 Rules: http://i.imgur.com/OCjW4.png
21 Rules: http://i.imgur.com/3YTJL.png



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/content-ftl-ignored-if-SLD-contains-20-OGC-filter-rules-tp5021269.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] implementing CAS in Geoserver

2012-12-06 Thread Sachin Hirve
Hello all,

I am trying to implement CAS authentication in GeoServer and would
appreciate if anyone having expertise in it could guide me. Following are
the steps I already tried, but with no success. FYI I am still relatively a
beginner for spring security and geoserver.

I have tried inserting CAS authentication, but was unsuccessful. I might be
wrong in my approach, but I was trying to implement a CAS authentication
wrapper around geoserver. I also tried modifying aplicationSecurityContext
to insert CAS, but that also failed due to conflicts with current
authentication (usernamepassword) mechanism. It seems that other services
(catalog, wms etc.) are tightly coupled with previous authentication
mechanism and my insertion of CAS relevant code breaks the previous
authentication, thereby failing to get these other services up.

Let me know if you have any thoughts about the possible path of
implementation. I highly appreciate your help. FYI, I am using a slightly
different implementation of geoserver from
http://3dwebgis.di.uminho.pt/sources/. Additionally I have also seen
similar efforts in progress from Christian Mueller, but since it is yet to
finish, I am giving it a shot myself.

Thanks
Sachin
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread arahav
You need to give a workspace name when creating the store, and you should use
ds.url instead of ds.data_url

try the following:
restURL = 'http://localhost:8080/geoserver/rest'
gsPassword = 'admin'
gsUser = 'geoserver'
workspace = 'SomeWorkSpace'
pyramidDir = 'C:/Users/katie/Desktop/test/cablepyramid'
storeName = 'NewStoreName'

cat = Catalog(restURL, gsPassword, gsUser)
cs = cat.create_coveragestore2(storeName, workspace)
cs.url = pyramidDir
cs.type = ImagePyramid
cat.save(cs) 

This will only create the store, a layer will not be created. The store will
be created in the default workspace regardless of the workspace name you
specify... 




Katie Essadro wrote
 Ok, I tried using create_coveragestore2 like so:
 
 cat = Catalog(http://localhost:8080/geoserver/rest;)
 ds = cat.create_coveragestore2(aiptest1)
 ds.data_url = file:C:/Users/katie/Desktop/test/cablepyramid
 ds.type = ImagePyramid
 cat.save(ds) 
 
 Here is the error:
 
 builtins.NameError: global name 'basestring' is not defined
 File
 C:\Python32\Lib\site-packages\gsconfig-0.6.1-py3.2.egg\geoserver\catalog.py,
 line 240, in create_coveragestore2
   if isinstance(workspace, basestring):
 
 Any idea what I did wrong?
 
 Thanks!





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021287.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
hmm ok that worked! Thanks!

Any idea how to get this working with Python 3.2? :)



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021294.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Also, do you have example code on how to create a layer with this store and
then publish it?

Thanks!
Katie



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021295.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] gsconfig.py help needed

2012-12-06 Thread Katie Essadro
Hello David,

I finally got a store created, but I am checking your test code, and I dont
see anywhere to create a layer and associated it with a store and then
publish that layer. Can you please point me in the right direction???

Thanks!
Katie



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gsconfig-py-help-needed-tp5020642p5021300.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] ENABLE_JSONP

2012-12-06 Thread Neil Jakeman
Hi,

 

I am running Geoserver 2.2 on Tomcat 6 Debian.

I would like to make GetFeatureInfo request in JSONP.

 

I have added :

 

context-param

param-nameENABLE_JSONP/param-name

param-valuetrue/param-value

/context-param

 

.to my web.xml where I set up the Geowebcache data dir, and restarted
tomcat, but the requests still respond that info_format=text/javascript
isn't valid.

 

Does anyone know if this is available in 2.2 and how to get it working?

 

Thanks

 

Neil

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] ENABLE_JSONP

2012-12-06 Thread Carlo Cancellieri

Hi Neil,
 the backport of the jsonp support is still pending for PSC approval (on the 
Dev list).
Currently it is only supported by the 2.3.x branch.
Cheers,
Carlo Cancellieri - GeoSolutions SAS

From: neil_jake...@hotmail.com
To: geoserver-users@lists.sourceforge.net
Date: Thu, 6 Dec 2012 19:52:54 +
Subject: [Geoserver-users] ENABLE_JSONP

Hi, I am running Geoserver 2.2 on Tomcat 6 Debian.I would like to make 
GetFeatureInfo request in JSONP. I have added : context-param
param-nameENABLE_JSONP/param-name
param-valuetrue/param-value/context-param …to my web.xml where I set up 
the Geowebcache data dir, and restarted tomcat, but the requests still respond 
that “info_format=text/javascript” isn’t valid. Does anyone know if this is 
available in 2.2 and how to get it working? Thanks Neil
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  --
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver upgrade

2012-12-06 Thread cmaul
David,

nononono not everything at once. Not on a production machine. Please do the
following:

install the war file as is, check WMS/WFS/etc. check log files, then stop.

add all the add-ons: database, WPS, raster formats whatever you need, start,
read the log files, check the services, then stop again. I there are
problems repeat it one by one.

Create a database connection to your main database by hand, publish a layer,
check it with 'preview', if everything works delete both, then stop.

*Only as a last step*
Change over to your data directory (web.xml, container var, java var or
system var ).

Did your first attempt actually work on the data directory intended, i.e.
the one you thought it would work on?

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Geoserver-upgrade-tp5021150p5021335.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users