[Geoserver-users] Fwd: smeSpire project - Study about GI private sector in Europe

2012-12-13 Thread Piergiorgio Cipriano
(sorry for crossposting)

__
Piergiorgio Cipriano




-- Forwarded message --
From: smespire 
Date: 2012/12/4
Subject: smeSpire project - Study about GI private sector in Europe
To: pg.cipri...@gmail.com


 Dear *Company*,

Have you heard about the *smeSpire* project? 

*smeSpire* is a Support Action of the EU’s 7th Framework Program, aiming to
turn the INSPIRE  European Directive into
business opportunities for private sector companies dealing with Geographic
Information in Europe (http://www.smespire.eu/). 

The purpose of the project is to encourage and enable the participation of
Small and Medium Enterprises (SMEs) in making environmental and spatial
data available and usable. 

The European Commission Joint Research Centre (EC-JRC) is involved in the *
smeSpire* project together with other 14 organisations from 12 Member
States.

** **

We would like very much your contribution by responding to the survey
available at the following web address:

http://www.smespire.eu/survey

** **

It will take you about 20 minutes to complete, and we would invite you to
think of this time as an investment for your company. 

If possible, we kindly ask you to complete the survey during the next two
weeks.

The survey is available in different languages; you may save your answers
as a draft and resume the survey later.

** **

By filling in the survey, you will become part of the *smeSpire* network of
European Geo-ICT SMEs, and will enjoy the following benefits of project:

**· **be included in the *Network database*: the largest public on
GeoICT SME’s, a searchable and structured repository of information on the
characteristics, activities and competencies of Geo-ICT SMEs in Europe.

**· **access our *Training Platform*: acquire knowledge and skills
on INSPIRE and all the related implementation issues.

**· **insert your *Best Practice* in the catalogue of INSPIRE
implementations

**· **receive *news and updates*

**· **use *additional resources* as soon as they become available***
*

** **

By completing the survey you will also receive the first
*smeSpire*newsletter, with news and details about the project.


** **

This is a great opportunity to promote your business, advertise your skills
and get in touch with other similar companies, helping to enlarge your
market in Europe.

** **

Thanks for your help.

** **

  

*smeSpire project*

JRC point of contact

[image: cid:image001.png@01CD8AC3.E78A0390]

* *

*European Commission*

DG JRC

Institute for Environment and Sustainability

Unit Digital Earth and Reference Data

T.P. 262 - Building 26A 

Via Enrico Fermi, 2749 - I 

21027 Ispra (VA)/ITALY 

** **

*smesp...@jrc.ec.europa.eu**
*www.smespire.eu 

** **

** **

Please, read carefully the Privacy statement available at
http://www.smespire.eu/index.php/legal.

If you experience technical difficulties accessing or submitting the survey
please send email to smesp...@jrc.ec.europa.eu. 

To be removed from this or any future mailing lists, please reply to this
message and enter “REMOVE” in the subject line.

** **
<><>--
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] Problem with app-schema and a one-to-many relation

2012-12-13 Thread Ben Caradoc-Davies
Lucas,

in your mapping for heart:HeartStarter you have an AttributeMapping for 
heart:AvailableTimes/heart:Time in which you specify linkField twice:

HeartStartId
FEATURE_LINK[1]

I am not sure why this element appears twice. What happens if you remove 
the first linkField element? I think the second is the one that is needed.

I have copied Rini who is our feature chaining expert.

Kind regards,

-- 
Ben Caradoc-Davies 
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
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] Problem with app-schema and a one-to-many relation

2012-12-13 Thread Lukas Bergliden
Hello,
I need some help to doule check my app-schema configuration.
I've defined a application schema of my own with two feature types in two xsd 
files.

The types are 'HeartStarter' which contains information about a defibrillator 
and which has a list (one-to-many) of the type 'AvailableTime'. The data are 
stored in a SQL Server.

What I'm looking for is a gml output like:

  
2
Grönhögen Golf
Golfvägen 1
38065
Degerhamn
Entréplan
I receptionen
0


  Valfria dagar
  01-jun
  18-aug
  Måndag
  Fredag
  1900-01-01T09:00:00Z
  1900-01-01T16:00:00Z



http://www.opengis.net/gml/srs/epsg.xml#900913";>
1825684.176806 7612514.23784135


  


The featuretype AvailableTime works fine on its own and produces for example 
this result:


  Valfria dagar
  01-jun
  18-aug
  Måndag
  Fredag
  1900-01-01T09:00:00Z
  1900-01-01T16:00:00Z



But when I request one of the Heartstarters that has a AvailableTime the 
information of the Available time is not displayed in the gml, instead I only 
get a closed Time element. For example:

  
2
Grönhögen Golf
Golfvägen 1
38065
Degerhamn
Entréplan
I receptionen
0




http://www.opengis.net/gml/srs/epsg.xml#900913";>
1825684.176806 7612514.23784135


  


I attached the mapping file and the xsd files and I would really appreciate if 
you take the time to help me as I been banging my head on this for quite some 
time.

Best regards
Lukas
___
Lukas Bergliden
Civilingenjör
Decerno AB
Electrum 234, SE-164 40 KISTA
Besöksadress: Kistagången 16, 7 tr
Tel:+46 8 630 75 00
Mobil: +46 70 644 96 61


AvailableTime.xsd
Description: AvailableTime.xsd


HeartStarter.xsd
Description: HeartStarter.xsd

http://www.geotools.org/app-schema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.geotools.org/app-schema AppSchemaDataAccess.xsd">


gml
http://www.opengis.net/gml


xs
http://www.w3.org/2001/XMLSchema


gsml
urn:cgi:xmlns:CGI:GeoSciML:2.0


heart
http://localhost/HeartStarterRegister



	   	
		  datastore
  		  
  		  
 			Connection timeout
			20
	  	  
		  
		  	port
		  	1433
		  
		  
		  	passwd
		  	${heart.passwd}
		
  		  
 			dbtype
			sqlserver
	  	  
	  
	   		host
	   		${heart.host}
		  
		  
			Integrated Security
			false
		  
		  
			validate connections
			true
		  
		  
			max connections
			10
  		  
		  
			min connections
			1
		  
		  
		  	database
		  	${heart.database}
		  
		  
		  	namespace
		  	http://hjaertstartarregistret.se
		  
		  
			Expose primary keys
			false
		  
		  
		  	fetch size
		  	1000
		  
		  
		  	user
		  	${heart.user}
		  
		 
	



../HeartStarter.xsd




datastore
HjaertstartarIntegrationsVy
heart:HeartStarter



heart:HeartStarter


getId()




heart:Id
  

Id




heart:Owner
  

Innehavare




heart:Address
  

Adress




heart:ZipCode
  

Postnummer




heart:City
  

Ort




heart:Floor
  

Vaaningsplan




heart:Placement
  

Placering




heart:AdditionalInformation
  

Oevriginfo
 

Re: [Geoserver-users] Oracle connections

2012-12-13 Thread cmaul
Jonathan,

OCI is the Oracle Call Interface is a native C interface to interact with
Oracle databases. Haven't used it.

The other two are the JDBC connection pool implementations, which can reside
on the application level (geoserver), which is the Oracle NG connection pool
or on the container level (Tomcat), which is the JNDI connection pool. 

I was going to write there is not much difference as geoserver comes with
commons-dbcp-xx.jar and tomcat with tomcat-dbcp.jar and both are from
Apache, but this is not true as I discovered just now. They have a
completely different class structure. Using NG on my production server and
JNDI on the test server I found very little difference in performance or
stability.

One warning: It is either or. If you use JNDI your Oracle odbc.jar must sit
in the Tomcat_home/lib, if you use NG it would be in the geoserver/lib. The
jar in both lib directories causes confusion and connection errors. 

NG is documented:
http://docs.geoserver.org/latest/en/user/data/database/oracle.html

where it says: The database schema to access tables from. Setting this value
greatly increases the speed... yes, but then you can only publish from this
schema.

JNDI and the necessary modifications in TOMCAT_HOME/conf/context.xml are
here:

http://docs.geoserver.org/latest/en/user/tutorials/tomcat-jndi/tomcat-jndi.html#tomcat-jndi

Obviously when refreshing the pools in one case the app restart is enough,
while you need to restart the container in the other case. And the JNDI pool
can be used for other apps as well if they are running in the same
container. 

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/Oracle-connections-tp5022806p5022874.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] no luck with gdal plugin and 2.2.2

2012-12-13 Thread zorg
Hello
After trying reading the doc and all thread I can't manage to make gdal 
work
I'm using
Geoserver 2.2.2
geoserver-2.2.2-gdal-plugin.zip
Install one a serveur 2003  as a service

with native library 1.1.5
http://java.net/projects/imageio-ext/downloads/directory/Releases/ImageIO-Ext/1.1.x/1.1.5
the definition
http://java.net/projects/imageio-ext/downloads/download/Releases/Dependencies/GDAL/Data/1.7.3/gdal_data173.zip

and the native library
http://java.net/projects/imageio-ext/downloads/directory/Releases/Dependencies/GDAL/NativeLibraries/1.7.3/Windows32

I have put the  native library in wrapper/lib like explain

But every time I start geoserver i get

WARNING: Native library load failed. .. gdaljni.dll: Can't find 
dependent libraries

So what I have understand is that geoserver find the gdaljni.dll but 
can't find the dependent library

but I'm stuck here

thank for your help




--
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] Oracle store table list

2012-12-13 Thread Jonathan Moules
Hi list,
I've created an Oracle store using Oracle NG. This works, however when I go
to layers and use this store, it lists 2098 items. There are only 928
tables that the user has access to.

It seems to have included all manner of system tables, such as
"ALL_COL_PRIVS" etc. I can't conceive of why anyone would want to publish
those sorts of things via GeoServer, so shouldn't it just list the actual
tables that user has access to?

http://stackoverflow.com/questions/205736/oracle-get-list-of-all-tables -
advises how to get all tables. I'd suggest using a slightly amended version
of the second one:

select TABLE_NAME from all_tables where TABLE_NAME NOT LIKE 'MDRT_%'

Tables begining MDRT_ are Oracle spatial indices and can be ignored safely.

Or is there a reason for the list that GeoServer currently uses?
Jonathan


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
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] Oracle connections

2012-12-13 Thread Jonathan Moules
Hi All,
I've installed the Oracle extension and it seems to be working well.
Possibly too well because I have the following three:

 Oracle NG  - Oracle Database
 Oracle NG (JNDI)  - Oracle Database (JNDI)
 Oracle NG (OCI)  - Oracle Database (OCI)

I can find documentation for the first here:
http://docs.geoserver.org/latest/en/user/data/database/oracle.html

which includes references to (and screenshot of) JNDI here:
http://docs.geoserver.org/latest/en/user/tutorials/tomcat-jndi/tomcat-jndi.html#tomcat-jndi

But nothing on the OCI one.

What are the differences between these? Just the connection type? I can't
seem to find anything about the third one at all (I guess its using the
Oracle OCI client I have installed). Do any of them have any particular
advantages (i.e. speed?)
Thanks,
Jonathan


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
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] How to set InputTransparentColor for MrSid layers?

2012-12-13 Thread Tim Hayton
Many thanks for your helpful response Simone, much appreciated.  I am now using 
an ImageMosaic source which was very easy to do, and as you say it supports 
setting of the transparent colour for my MrSid images which works great.

One thing I did notice is that it can be slower to generate tile images when 
using ImageMosaic when compared to using a Layer Group for the same set of 
images.  It only seems to be slower though when the requested tiles cover an 
area which requires imagery from more than one of the source images.  By way of 
example, requesting 35 tiles at TMS zoom level 19, all coming from a single 
source image, took 5 seconds to serve on my platform with both the ImageMosaic 
and Layer Group approaches, but requesting 35 tiles at zoom level 15, which in 
this case requires parts from 3 of the source images, takes 65 seconds using 
ImageMosaic but only 16 seconds using a LayerGroup.

I realise the ImageMosaic would have to do some extra work to take the 
transparent colour into account at the image borders, so to check this I tried 
deleting the InputTansparentColor for the ImageMosaic.  This speeded things up 
from 65 seconds to 37 seconds, but this is still less than half the speed of 
the layer group.  I guess the ImageMosaic must also be doing something extra 
that the layer group is not.

As you suggested, I filed a JIRA request for an enhancement for layer groups to 
support setting of a transparent colour at 
https://jira.codehaus.org/browse/GEOS-5501.

Regards

Tim


-Original Message-
From: Simone Giannecchini [mailto:simone.giannecch...@geo-solutions.it] 
Sent: 01 December 2012 09:08
To: Tim Hayton
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] How to set InputTransparentColor for MrSid 
layers?

Ciao Tim,
please, find my aswer inline below

Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---


On Wed, Nov 28, 2012 at 4:08 PM, Tim Hayton  wrote:
> I've just started using GeoServer/GeoWebCache to serve map imagery to 
> web clients which use the TMS service.  My source images are in either 
> GeoTIFF or MrSid format, and are satellite imagery for adjacent areas 
> which slightly overlap.  I have successfully set these up in GeoServer 
> as data sources and layers, and then made a Layer Group which combines 
> each individual image layer into a single group so I can easily get 
> tiles for anywhere in the coverage area via a single TMS request.
>

I would suggest to use the ImageMosaic plugin.
I am assuming the images have:
- same CRS
- same data type
- same number of bands
- similar resolution

With the ImageMosaic plugin you do not need to use the layer group and your 
GetCapabilities will be much smaller.
ImageMosaic handle the transparent color both on put images as well as on the 
output image. Check the layer configuration.
Last but not least it does handle MrSID as well as GeoTiff files.

>
>
> My problem is related to nodata areas, which are black in the 
> individual images, at the borders of each image file where there is an 
> overlap with the next image. For the GeoTIFF layers, I can easily set 
> the InputTransparentColor in the GeoServer Layers -> Coverage 
> Parameters screen, and this works great with the combined layer group 
> correctly serving the actual data rather than the black pixels for tiles 
> where two images overlap.
> However, for my MrSid images, there is no InputTransparentColor option 
> in the Layers screen, and when I get border tiles with TMS requests I 
> am often getting the black pixels in preference to the actual data 
> where tiles overlap.
>

See suggestion above about using ImageMosaic. That said you are right there is 
no support for input transparent color on GDAL Formats. Could file a jira 
enhancement report for this?
It would be dead easy to add it and I believe we should do it right away.

>
>
> So my question is basically is there any way to set the 
> InputTransparentColor for layers based on MrSid data sources, or is 
> there something peculiar to this format that prevent this option from being 
> set?
>
>
>
> I also see the same problem if I get a tile layer preview from the web 
> interface, but interestingly if I ask for a layer preview (rather than 
> a tile layer preview) the I do not see the problem, and the image 
> layers blend correctly at the borders.  I wonder then if the problem 
> might be related to the way GeoWebCache requests the images from 
> GeoServer in a way that causes the nodata to take preference somehow?
>
>
>
> System details:
>
> GeoServer 2.2.2 from windows installer
>
> GDAL extensi

Re: [Geoserver-users] postgis connection limit and performance

2012-12-13 Thread Roope Tervo
Back to this issue after a long time. I got it, thanks to your help!

My connection pool didn't work. I got it working with following steps:

1) added following recourse to $TOMCAT_HOME/conf/context.xml


2) changed datastore.properties to following form:
 SPI=org.geotools.data.postgis.PostgisNGJNDIDataStoreFactory
jndiReferenceName=jdbc/postgres
schema=mosaic
Loose\ bbox=true
Estimated\ extends=false

Roope


--
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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Katie Essadro
Ok, nevermind my 500 error, I got this to work!! The error was causing by the
F:\ path not existing anymore. When I made that a correct path, it worked!!! 

Thank you SO MUCH!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022766.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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Katie Essadro
Ok I found my error.. it was that the path F:\gis\geotiffs\pyramid3 did not
exist anymore. When I changed it to the correct path, it worked!! Finally!!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022765.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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread David Winslow
The "500 Internal Server Error" message only tells us that an unexpected
error occurred while trying to apply  your changes.  This is a bug since at
the very least the error message should give you some information about how
to correct the problem.

Unfortunately that's pretty much all we can tell you without more
information. If you review the GeoServer logs after the failed request, do
you see anything interesting (ie, that appears relevant to your rest
error)?  You may need to increase the log level in the GeoServer Global
Settings page and retry the request.

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


On Thu, Dec 13, 2012 at 9:57 AM, Katie Essadro wrote:

> The second line gives me this error:
>
> curl -u admin:geoserver -v -XPUT -H "Content-type: text/plain"
> -d"file:F:/gis/geotiffs/pyramid3"
>
> http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/external.imagepyramid
>
> * About to connect() to localhost port 8080 (#0)
> *   Trying 127.0.0.1... connected
> * Server auth using Basic with user 'admin'
> > PUT
> > /geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/
> external.im
> agepyramid HTTP/1.1
> > Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> > User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1
> > Host: localhost:8080
> > Accept: */*
> > Content-type: text/plain
> > Content-Length: 29
> >
> * upload completely sent off: 29 out of 29 bytes
> < HTTP/1.1 500 Internal Server Error
> < Transfer-Encoding: chunked
> < Server: Jetty(6.1.8)
> <
> * Connection #0 to host localhost left intact
> * Closing connection #0
>
>
> Any idea what could be wrong?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022761.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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Katie Essadro
The second line gives me this error:

curl -u admin:geoserver -v -XPUT -H "Content-type: text/plain"
-d"file:F:/gis/geotiffs/pyramid3"
http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/external.imagepyramid

* About to connect() to localhost port 8080 (#0)
*   Trying 127.0.0.1... connected
* Server auth using Basic with user 'admin'
> PUT
> /geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/external.im
agepyramid HTTP/1.1
> Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1
> Host: localhost:8080
> Accept: */*
> Content-type: text/plain
> Content-Length: 29
>
* upload completely sent off: 29 out of 29 bytes
< HTTP/1.1 500 Internal Server Error
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)
<
* Connection #0 to host localhost left intact
* Closing connection #0


Any idea what could be wrong?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022761.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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread arahav
You can try these:
curl -u admin:geoserver -v -XPOST -H "Content-Type: application/xml" -d
"walkerpyramidwalkertrue"
http://localhost/geoserver/rest/workspaces/walker/coveragestores

curl -u admin:geoserver -v -XPUT -H "Content-type: text/plain"
-d"file:F:/gis/geotiffs/pyramid3"
http://localhost/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/external.imagepyramid

Worked with image mosaic but I haven't tried it with image pyramid.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022760.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] relational or geoespatial database

2012-12-13 Thread David Winslow
Here is a tutorial on connecting GeoServer to PostGIS:
http://docs.geoserver.org/stable/en/user/data/database/postgis.html . If
you want to modify PostGIS data through GeoServer you'll need a WFS client.
 OpenLayers (http://openlayers.org/) is a commonly used tool for making
custom ones, and QGIS (http://qgis.org) is a ready-made general purpose
one.  Both are free to use and modify as open-source software.

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


On Thu, Dec 13, 2012 at 1:11 AM, J.Alejandro Martinez Linares <
isla...@infomed.sld.cu> wrote:

> Hi to all, i have a doubt, i need to know if i could use a relational
> database created by me firstly introducing the shapes through postgis to
> the postgres and then some kind of form to manipulate theese through
> geoserver, is this valid?, i need to know cause i am creating my thesis
> , and it is a GIS but, when i came to the  software engineer, i found
> that there is no methodology to follow to accomplish all the cicle of
> life o the methodology , cause the database is geospatial , please gelp,
> i need a hand please. some body
>
> --
>
> Este mensaje le ha llegado mediante el servicio de correo electronico que
> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
> Nacional de Salud. La persona que envia este correo asume el compromiso de
> usar el servicio a tales fines y cumplir con las regulaciones establecidas
>
> Infomed: http://www.sld.cu/
>
>
> --
> 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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Katie Essadro
Hello Carlo,

So you are suggesting since I used configure=all that there should be a
layer created when I create the store? There is no layer that I can see.

Thanks,
Katie



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/trying-to-create-a-layer-for-a-coveragestore-using-the-rest-API-tp5022742p5022755.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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Carlo Cancellieri

Katie, note that using 'configure=all' will automatically publish all the layer 
matching resources into the store.Not sure about the error code 500, probably 
having geoserver logs may help understanding.Cheers,Carlo
Date: Thu, 13 Dec 2012 08:43:53 -0500
From: katieessa...@gmail.com
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] trying to create a layer for a coveragestore using 
the rest API

Hello all, I have created a coveragestore in geoserver using the rest API like 
this: 

curl -u admin:geoserver -v -XPOST -H
"Content-type: text/xml" –T C:\Users\katie\Desktop\pyramidstore.xml 
http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores?configure=all
 My xml was this: 
  walkerpyramid 
 
   walkerpyramid
test  
   ImagePyramid  
   true  
 
  walker
 
 
 <__default>false   
 file:F:\gis\geotiffs\pyramid3
 
Next I wanted to create a layer for the coverage store, so I tried this: 
curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d 
"walkerpyramid" 
http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/coverages
 However, this gave me the following error:
 * About to connect() to localhost port 8080 (#0)
*   Trying 127.0.0.1... connected
* Server auth using Basic with user 'admin'

> POST /geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/coverages
HTTP/1.1
> Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1
> Host: localhost:8080

> Accept: */*
> Content-type: text/xml
> Content-Length: 70
>
* upload completely sent off: 70 out of 70 bytes
< HTTP/1.1 500 Internal Server Error
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)

<
coverages : coverages* Connection #0 to host localhost left intact
* Closing connection #0  
Can anyone please tell me what I am doing wrong? How can I create a layer for 
this store using geoserver rest API?
 Thanks!Katie 
 

 

--
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] trying to create a layer for a coveragestore using the rest API

2012-12-13 Thread Katie Essadro
Hello all,

I have created a coveragestore in geoserver using the rest API like this:

curl -u admin:geoserver -v -XPOST -H "Content-type: text/xml" –T
C:\Users\katie\Desktop\pyramidstore.xml
http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores?configure=all

My xml was this:




 walkerpyramid

 walkerpyramid test

 ImagePyramid

 true

 

walker



   <__default>false

file:F:\gis\geotiffs\pyramid3





Next I wanted to create a layer for the coverage store, so I tried this:



curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
"walkerpyramid"
http://localhost:8080/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/coverages



However, this gave me the following error:



* About to connect() to localhost port 8080 (#0)
*   Trying 127.0.0.1... connected
* Server auth using Basic with user 'admin'
> POST
/geoserver/rest/workspaces/walker/coveragestores/walkerpyramid/coverages
HTTP/1.1
> Authorization: Basic YWRtaW46Z2Vvc2VydmVy
> User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1
> Host: localhost:8080
> Accept: */*
> Content-type: text/xml
> Content-Length: 70
>
* upload completely sent off: 70 out of 70 bytes
< HTTP/1.1 500 Internal Server Error
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)
<
coverages : coverages* Connection #0 to host localhost left intact
* Closing connection #0





Can anyone please tell me what I am doing wrong? How can I create a layer
for this store using geoserver rest API?



Thanks!

Katie
--
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] Time dimension in GS 2.2.2

2012-12-13 Thread Gabriel Vatin
Actually, I saw that my original data and the GetCapabilities documents 
have a 2 hour difference...


On my DB, utctime field : "2012-07-07 09:03:03.061117", "2012-07-07 
09:03:17.49299", "2012-07-07 09:03:34.002737"...
On the GetCap : 2012-07-07T07:03:03.061Z, 2012-07-07T07:03:17.492Z, 
2012-07-07T07:03:34...


And I couldn't get any result when querying a given hour because of the 
precision, I guess.


Now when I query TIME=2012-07-07T09:03:00Z/2012-07-07T9:03:04Z it 
returns the first position : that's the utctime on my DB, but not the 
one published on the GetCapabilities.


But I still wonder why we cannot query a single day : TIME=2012-07-07 ??

Thanks,

Gabriel

--

Gabriel Vatin

Doctorant en géomatique / PhD Student in Geomatics
MINES ParisTech
Centre de recherche sur les Risques et les Crises (CRC)
CS 10207
06904 Sophia-Antipolis Cedex - France
Tél : + 33(0)4.93.95.75.77
Fax : + 33(0)4.93.95.75.81
E-mail : gabriel.va...@mines-paristech.fr 


Internet : http://www.crc.mines-paristech.fr/ssem
--
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] relational or geoespatial database

2012-12-13 Thread J.Alejandro Martinez Linares
Hi to all, i have a doubt, i need to know if i could use a relational 
database created by me firstly introducing the shapes through postgis to 
the postgres and then some kind of form to manipulate theese through 
geoserver, is this valid?, i need to know cause i am creating my thesis 
, and it is a GIS but, when i came to the  software engineer, i found 
that there is no methodology to follow to accomplish all the cicle of 
life o the methodology , cause the database is geospatial , please gelp, 
i need a hand please. some body

--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
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] Can Geowebcache return 404 when request zoom level > max zoom level?

2012-12-13 Thread Sjoerd Brandsma
Hi all,

Is it possible to have geowebcache return a http 404 when a request goes
beyond the maximum zoom level defined
in the gridset in geowebcache.xml? The default configuration causes
geowebcache to always return a empty transparent png.


Thanks in advance!

Best regards,
Sjoerd Brandsma
CycloMedia
--
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] Time dimension in GS 2.2.2

2012-12-13 Thread Gabriel Vatin

Hello all,

I have some difficulties using the Time dimension that is allowed in GS 
2.2. My data are boats positions with timestamp information. I 
configured the GS Time dimension to read the right attribute (utctime). 
By the way, do you know what is the use of the optional field "End 
Attribute" ? (see the enclosed image)


My data are goig from to 2012-07-07T07:03:03.061Z to 
2012-07-07T18:59:01.647Z, I can read it in the WMS GetCapabilities.


Now when I want to display the map with a GetMap, here are the problems :
- I can display the whole 2012-07-07 day only with 
TIME=2012-07-06/2012-07-08. If I set TIME=2012-07-07, 
TIME=2012-07-07/2012-07-08 or TIME=2012-07-06/2012-07-07 I have a blank 
image. So here is the only right URL :


http://myHost/geoserver/vessels/wms?service=WMS&version=1.1.0&request=GetMap&layers=vessels:oneday&styles=&bbox=-46.3715133666992,-24.2236480712891,99.8403930664062,44.2278175354004&width=704&height=330&srs=EPSG:4326&format=image%2Fpng&TIME=2012-07-06/2012-07-07

- I can't display just one specific hour of data, even if it is in the 
GetCapabilities Dimension list, I only have a blank image Here is 
what returns the getCapabilities :
units="ISO8601">2012-07-07T07:03:03.061Z,2012-07-07T07:03:17.492Z,2012-07-07T07:03:34.002Z,



And my request :
http://myHost/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=vessels:oneday&styles=&bbox=-46.3715133666992,-24.2236480712891,99.8403930664062,44.2278175354004&width=704&height=330&srs=EPSG:4326&format=image%2Fpng&TIME=2012-07-07T07:03:03.061Z

If you have any idea, I'll be glad some more information about this time 
use !


Thanks,

Gabriel

--

Gabriel Vatin

Doctorant en géomatique / PhD Student in Geomatics
MINES ParisTech
Centre de recherche sur les Risques et les Crises (CRC)
CS 10207
06904 Sophia-Antipolis Cedex - France
Tél : + 33(0)4.93.95.75.77
Fax : + 33(0)4.93.95.75.81
E-mail : gabriel.va...@mines-paristech.fr 


Internet : http://www.crc.mines-paristech.fr/ssem
--
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] Is anonymous binding required for ldap authentication?

2012-12-13 Thread Andreas Fogelberg
Thanks anyway. Meanwhile, if I find a solution I will report back.

Regards,
Andreas

2012/12/13 

> Hi Andreas
>
> I think I cannot help further and we have to wait for Justin returning
> from holidays (3 weeks).
>
> I would estimate 10 hours of work which I have not. (Setting up test
> environment, studying the code, looking at your concrete situation,...).
>
>
> Christian
>
>
> Zitat von Andreas Fogelberg :
>
>  Hi!
>>
>> By recursive I mean that I would like to do a subtree search. In our case
>> users are defined in subtrees.
>>
>> Thanks,
>> Andreas
>>
>> 2012/12/12 
>>
>>  Hi Andreas
>>>
>>> I am not used to using LDAP, what do you mean with a recursive search ?
>>> AFAIK, the LDAP plugin does a simple bind with username/credentials, so I
>>> have no idea about your problem.
>>>
>>>
>>> Christian
>>>
>>>
>>> Zitat von Andreas Fogelberg :
>>>
>>>  Thank you Christian!
>>>

 Removing the "anonymous" filter did help me to solve the problem. I also
 had to change the settings for User loopkup pattern from uid ={0} to
 cn={0}.

 What I didn't manage to do is a recursive search in the LDAP database.
 For
 those users I still get the same error:
 javax.naming.**AuthenticationException: [LDAP: error code 49 -

 80090308:

 LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
 v1db1]

 Kind regards,
 Andreas



 2012/12/12 

  Hi Andreas

>
> The developer of the ldap plugin is in holidays for 3 weeks. I will try
> to
> help here.
>
> If you dont want an anonymous login, remove the "anonymous" filter from
> all filter chains. This can be done using the "Authentication" panel in
> the
> top security menu.
>
> I googled the LDAP error code, 49 seems to be "invalid credentials".
> Did
> you test your ldap connection without using Geoserver ?
>
> Christian
>
>
> Zitat von Andreas Fogelberg :
>
>
>  Hi list!
>
>
>> We are setting up authentication against an LDAP server. When we test
>> the
>> connection we recieve the following error:
>> javax.naming.**AuthenticationException: [LDAP: error code 49 -
>>
>> 80090308:
>>
>> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data
>> 52e,
>> v1db1]
>>
>> Could the reason be that anonymous binding is required? I'm not sure
>> if
>> this is the case in GeoServer. In our environment anonymous binding is
>> not
>> allowed.
>>
>> We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server
>> is
>> not inside the AD.
>>
>>
>> Thanks in advance.
>>
>> All best,
>> Andreas
>>
>>
>>
>>
> --**--**
> --**--**
>
>
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
>

>>>
>>> --**--**
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>>
>>>
>>
>
>
> --**--**
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
--
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 PostGIS WFS layer sometimes loses its prefix

2012-12-13 Thread Andrea Aime
On Mon, Nov 26, 2012 at 7:21 PM, Matthew Foster - NOAA Federal <
matthew.fos...@noaa.gov> wrote:

> On Mon, Nov 26, 2012 at 11:12 AM, Andrea Aime <
> andrea.a...@geo-solutions.it> wrote:
>
>> On Mon, Nov 26, 2012 at 3:51 PM, Matthew Foster - NOAA Federal <
>> matthew.fos...@noaa.gov> wrote:
>>
>>> I'm having a recurring problem where WFS responses on PostGIS layers in
>>> our Geoserver (2.2-RC1) will "lose" their prefix.  In other words, the
>>> prefix comes back as null, causing a XML parsing error.  What's odd is that
>>> I can go into the Geoserver web admin interface, access the problem layer,
>>> click "Reload feature type", and the layer will start working again.  It
>>> will work OK for a few weeks and then do it again.
>>>
>>> Does anyone know what could be wrong?
>>>
>>>
>> I don't remember this particular problem, but can you tell us which
>> version of GeoServer you're using?
>>
>>
>>
> 2.2-RC1
>

Back then I did not have a clue off the top of my head, but searching the
archives leads to this:

http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg06924.html

So far, seems like a known problem with no immediate solution (aka, quite a
bit of work
to fix it).

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
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] Is anonymous binding required for ldap authentication?

2012-12-13 Thread christian . mueller
Hi Andreas

I think I cannot help further and we have to wait for Justin returning  
from holidays (3 weeks).

I would estimate 10 hours of work which I have not. (Setting up test  
environment, studying the code, looking at your concrete situation,...).

Christian


Zitat von Andreas Fogelberg :

> Hi!
>
> By recursive I mean that I would like to do a subtree search. In our case
> users are defined in subtrees.
>
> Thanks,
> Andreas
>
> 2012/12/12 
>
>> Hi Andreas
>>
>> I am not used to using LDAP, what do you mean with a recursive search ?
>> AFAIK, the LDAP plugin does a simple bind with username/credentials, so I
>> have no idea about your problem.
>>
>>
>> Christian
>>
>>
>> Zitat von Andreas Fogelberg :
>>
>>  Thank you Christian!
>>>
>>> Removing the "anonymous" filter did help me to solve the problem. I also
>>> had to change the settings for User loopkup pattern from uid ={0} to
>>> cn={0}.
>>>
>>> What I didn't manage to do is a recursive search in the LDAP database. For
>>> those users I still get the same error:
>>> javax.naming.AuthenticationException: [LDAP: error code 49 -
>>> 80090308:
>>>
>>> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
>>> v1db1]
>>>
>>> Kind regards,
>>> Andreas
>>>
>>>
>>>
>>> 2012/12/12 
>>>
>>>  Hi Andreas

 The developer of the ldap plugin is in holidays for 3 weeks. I will try
 to
 help here.

 If you dont want an anonymous login, remove the "anonymous" filter from
 all filter chains. This can be done using the "Authentication" panel in
 the
 top security menu.

 I googled the LDAP error code, 49 seems to be "invalid credentials". Did
 you test your ldap connection without using Geoserver ?

 Christian


 Zitat von Andreas Fogelberg :


  Hi list!

>
> We are setting up authentication against an LDAP server. When we test
> the
> connection we recieve the following error:
> javax.naming.AuthenticationException: [LDAP: error code 49 -
> 80090308:
>
> LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
> v1db1]
>
> Could the reason be that anonymous binding is required? I'm not sure if
> this is the case in GeoServer. In our environment anonymous binding is
> not
> allowed.
>
> We use Geoserver 2.2-SNAPSHOT/Windows Server 2008/Tomcat 7. The server
> is
> not inside the AD.
>
>
> Thanks in advance.
>
> All best,
> Andreas
>
>
>

 --**--**

 This message was sent using IMP, the Internet Messaging Program.




>>>
>>
>>
>> --**--**
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>




This message was sent using IMP, the Internet Messaging Program.



--
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] implementing CAS in Geoserver

2012-12-13 Thread christian . mueller
Hi Sachin

My plan is to have one commit for GSIP-82 and one for CAS.

The CAS merge is simple because CAS is an extension. The merge of  
GSIP-82 is more tricky, but you can see all changes online on github.

I will try to hurry up.



Zitat von Sachin Hirve :

> Hi Christian,
>
> I had a deadline of December 25, 2012 to show CAS working with few more
> features dependent on CAS which looks difficult now. I will also need time
> to integrate your code into my working branch. Code integration will
> include migration code and CAS extension, since I am using another
> geoserver version (based on 2.2.x) for some specific services (which are
> not part of current geoserver development). So in all whenever earliest
> possible I could get the nightly build with instructions to merge the code,
> that would be a big help.
>
> Thank you for your help. I highly appreciate it.
>
> regards,
> Sachin
>
>
> On Wed, Dec 12, 2012 at 8:37 AM,  wrote:
>
>> Hi Sachin
>>
>> What is your deadline. Please let me know ?
>>
>>
>> Christian
>>
>> Zitat von Sachin Hirve :
>>
>>  Hi Christian,
>>>
>>> Thank you for sharing this information. I am not using the CAS related
>>> code
>>> of geoserver which was on geoserver. Rather I was planning to start from
>>> the beginning, but it seems to involve a huge effort. Therefore I am
>>> looking forward to your CAS extension implementation.
>>>
>>> If you can let me know the estimated time of sharing the nightly build
>>> (CAS
>>> extension), that would be a big help. I am looking to include your CAS
>>> implementation in my work as soon as possible due to an upcoming demo
>>> deadline.
>>>
>>> Thank you for your help.
>>>
>>> regards
>>> Sachin
>>>
>>>
>>>
>>> On Fri, Dec 7, 2012 at 4:12 AM,  wrote:
>>>
>>>  Hi Sachin

 I am the developer of the CAS module. First the bad news. The CAS module
 never should have been on the download page, this was an "accident". You
 can stop your efforts here, it will not work.

 First I have to apply the patch for
 http://geoserver.org/display/GEOS/GSIP+82+-+Reworking+**
 security+filter+chains
 >


 The new CAS module is based on this patch. Unfortunately, this patch
 requires migration code and it is not possible to apply it to 2.2.x
 series.
 CAS will work starting with Geoserver 2.3.0. The release schedule is here

 http://geoserver.org/display/GEOS/GeoTools+and+GeoServer+
 release+schedule
 >


 The good news: I hope to get finished soon and you can try CAS using a
 nightly build. I will send an information mail on the user list.

 Sorry for your inconvenience

 Christian


 Zitat von 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
>
>
>

 --**--**

 This message was sent using IMP, the Internet Messaging Program.




>>>
>>
>>
>> --

Re: [Geoserver-users] Need some help regarding authkey module of geoserver community

2012-12-13 Thread christian . mueller
Hi Manas

This is the right way to go. Your filter should look for the "authKey"  
parameter and if present, authenticate the user. Then pass the http  
request to the next filter.

You can add this functionally in
src/community/authkey/

New filter classes are injected using Spring. Unfortunately, until  
now,  there is no description how to add new authentication filters in  
the developer guide, you have to do some investigations.

If you like I can assist / review your code.

> Thanks Christian.
> Am I right in thinking ,  I should be able to create a filter (a custom one
> that does exactly what authkey module does and upon authentication modifies
> the request header) and fit it in filter chain before basic filter.
>
> Do you think it might work for my requirement till Geoserver 2.3 comes out?
>
> Once again I really appreciate your help on this.
>
> ..Manas
>
>
> On Wed, Dec 12, 2012 at 9:00 AM,  wrote:
>
>> Hi Manas
>>
>> Not sure if I can solve your problem, but some facts you should know.
>>
>> The authkey module is not tested/integrated into the new sucurity
>> subsystem and a chance to do this is on GeoServer 2.3 series (for my part,
>> if I can find some time or a sponsor).
>>
>> I assume you removed the anonymous filter from the filter chain and you
>> have a basic auth filter on these chains.  The last authentication filter
>> on a chain determines how to challenge for credentials. Assuming this
>> configuration, GeoServer sends back a basic auth challenge to the browser.
>> After entering username/credentials, the browser should send the http auth
>> header for each request. The behaviour you described is correct.
>>
>> If you look at the documentation
>>
>> http://docs.geoserver.org/**stable/en/user/community/**authkey/index.html
>>
>> the first paragraph states that there is no basic auth support.
>>
>> I assume, authkey works only with an anonymous filter and an authkey URL
>> parameter passed in the first request, but I am not sure here.
>>
>> Hope that helps
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Zitat von Jody Garnett :
>>
>>
>>  Best ask on the user list, the security system has been changed for
>>>  GeoServer 2.2 and we are all learning how to make use of it.
>>>
>>> If you would like direct email support, the website has a number of
>>>  server providers (such as my employer) -  perhaps there is an
>>>  organisation in your area?
>>>
>>> --
>>> Jody Garnett
>>>
>>>
>>> On Wednesday, 12 December 2012 at 8:27 AM, manas kar wrote:
>>>
>>>  Hi Jody,

  I am very new to java programming and more so in spring security  so my
 question might be lame.

  I was wondering if I could get some help or guidance regarding how  to
 use authkey with geoserver.

 I have a geoserver installation that works fine with authkey if I
  choose anonymous authentication in the filter chain.
 As soon as I turn on basic authentication, the browser asks for
  credentials before the authkey module is even hit.

 My requirement is to make OGC calls to go via authkey and then  basic
 authentication.

 Is there a out of the box way to do it or I shall have to write a
  custom AuthenticationFilter and put it before basic in the filter  chain?

 Thanks in advance.

>>>
>>>
>>>
>>
>>
>> --**--**
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>




This message was sent using IMP, the Internet Messaging Program.



--
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