[Geoserver-users] Identifying active user in a geoserver process?

2015-03-10 Thread Ragnvald Larsen
In a recent question at gis.stackexchange.com one of the users asked the 
following question:

Is there any way to identify user within execute() method of a GeoServer 
process?
After processing of data within WPS I want to place the result in a folder with 
a name that corresponds to username, then to send the user URL to access it. To 
do that, I need a mechanism to determine username within execute() method of my 
process class. How to do that?

I suggested said I would start researching this issue by turning on extended 
logging on geoserver. Then use grep (linux) for the actual request from the log 
and see which user name is associated with the request. If it is the user is 
home free and can start finding out how to implement a solution using python or 
other scripting languages to do this programmatically.

I am wondering if there are other ways of doing this? I am not even sure if my 
rather "hacky" approach will solve the challenge. If anyone has the answer I 
will be more than happy to forward the info to the user. The address for the 
question is:

http://gis.stackexchange.com/questions/132071/is-there-any-way-to-identify-user-within-execute-method-of-a-geoserver-process

Ragnvald
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] wms-t default getmap

2014-10-27 Thread Ragnvald Larsen
Hi there,
 I am preparing a wms-t based service related to a coastal areas emergency 
response information system. User requested data be provided on a per month 
basis. The test service is available here:

http://wms.miljodirektoratet.no/geoserver/kystinfo/wms?service=WMS&version=1.1.0&request=GetMap&layers=kystinfo:fugl&styles=&bbox=-33.0,630.0,139.0,902.0&width=323&height=512&srs=EPSG:32633&format=application/openlayers

I would have assumed that a request to a wms-t service would provide default to 
all data if no date (T=x) is provided. Seems like it's not.

Is it possible to set a default time or reduced accuracy default time like this 
one: 2014-01/2014-12

Ragnvald Larsen
Senior Engineer, Environmental data dept.

[cid:image002.jpg@01CFF1CE.9FB2B5C0]

Norwegian Environment Agency
Telefon: +47 73 58 05 00
Mobil: +47 92 42 15 40
CV: http://www.linkedin.com/in/ragnvald


www.miljødirektoratet.no<http://www.miljødirektoratet.no/> - 
www.miljøstatus.no<http://www.miljøstatus.no/>


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


Re: [Geoserver-users] Problems with sqL

2014-02-11 Thread Ragnvald Larsen
Thankyou Mauro and Andrea - your explanations of the issue made me see it 
clearer!

I have changed the issue in JIRA to a possible improvement in documentation or 
the user interface :) Given time I might even submit a suggestion to update of 
the documentation.

Ragnvald

Fra: maurobartolome...@gmail.com [mailto:maurobartolome...@gmail.com] På vegne 
av Mauro Bartolomeoli
Sendt: 11. februar 2014 08:56
Til: Ragnvald Larsen
Kopi: geoserver-users@lists.sourceforge.net
Emne: Re: [Geoserver-users] Problems with sqL

Hi Ragnvald,

2014-02-10 23:10 GMT+01:00 Ragnvald Larsen 
mailto:ragnvald.lar...@miljodir.no>>:
Problem solved -  or at least avoided. Two ways potentially leads to the 
glorious access to MSSQL spatial based layers. Both starts with the user 
choosing "Add a new resource", after that I choose the relevant data store from 
the drop down list. Next is one of these two:


1)  "Configure new SQL view..."

2)  Press "Publish"

The last option (2) opens the layer definition dialogue and shows "Reload 
feature type  ...". The first one (1) starts with letting me write a SQL query. 
This one works.

I am running geoserver on a windows computer with "JVM Version: Oracle 
Corporation: 1.7.0_17 (Java HotSpot(TM) 64-Bit Server VM)".

I suspect this is a windows only issue.

Bug filed in JIRA: http://jira.codehaus.org/browse/GEOS-6342


I think there is a misunderstanding here: the option 1 and 2 are quite 
different in scope: the "Configure new SQL  view" allows you to publish a 
"virtual table" from your database built using a sql query, while the second 
one is used to publish an existing database table "as is", so also the 
configuration UI is different for the layers built using one of the two methods.

With the first one you get an "Edit SQL View" link that allows you to define 
the sql for the virtual table, for the second one you cannot define a sql 
query, you only get a "Reload feature type..." that simply reads the table 
fields and properties from the database and synchronizes the internal cache.
So, as it is usually said: "it's not a bug, it's a feature" :-).

Cheers,
Mauro Bartolomeoli


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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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

---
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems with sqL

2014-02-10 Thread Ragnvald Larsen
Problem solved -  or at least avoided. Two ways potentially leads to the 
glorious access to MSSQL spatial based layers. Both starts with the user 
choosing "Add a new resource", after that I choose the relevant data store from 
the drop down list. Next is one of these two:


1)  "Configure new SQL view..."

2)  Press "Publish"

The last option (2) opens the layer definition dialogue and shows "Reload 
feature type  ...". The first one (1) starts with letting me write a SQL query. 
This one works.

I am running geoserver on a windows computer with "JVM Version: Oracle 
Corporation: 1.7.0_17 (Java HotSpot(TM) 64-Bit Server VM)".

I suspect this is a windows only issue.

Bug filed in JIRA: http://jira.codehaus.org/browse/GEOS-6342

Ragnvald

Fra: Jody Garnett [mailto:jody.garn...@gmail.com]
Sendt: 10. februar 2014 13:33
Til: Ragnvald Larsen
Kopi: geoserver-users@lists.sourceforge.net
Emne: Re: [Geoserver-users] Problems with sqL

Check the logs for a stack trace, perhaps it can provide a clue. Usually the 
only way to confuse a database setup is by not filling in the correct metadata 
/ spatial index / spatial reference system information. GeoServer makes use of 
these kind of details when determining the feature type.

Jody Garnett

On Sun, Feb 9, 2014 at 4:11 AM, Ragnvald Larsen 
mailto:ragnvald.lar...@miljodir.no>> wrote:
I am importing a set of polygons to MSSQL spatial but continuously get "Reload 
feature 
type<http://geoserver3:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.data.resource.ResourceConfigurationPage&name=inon_objekter&wsName=dn>
  
...<http://geoserver3:8080/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.data.resource.ResourceConfigurationPage&name=inon_objekter&wsName=dn>"
 when set up the layer. I am expecting "Edit sql 
view<http://geoserver3:8080/geoserver/web/?wicket:interface=:19:resource:tabs:panel:theList:1:content:attributePanel:editSqlContainer:editSql::ILinkListener::>"


* Using Geoserver: 2.4.4

* SQL Server 10.50.400

Spatial preview on SQL server works fine. I have tried importing from both ESRI 
FILE Geod and shapefiles. Same issue.

Any suggestions? Common pitfalls?


Ragnvald

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problems with sqL

2014-02-08 Thread Ragnvald Larsen
I am importing a set of polygons to MSSQL spatial but continuously get "Reload 
feature 
type
  
..."
 when set up the layer. I am expecting "Edit sql 
view"


* Using Geoserver: 2.4.4

* SQL Server 10.50.400

Spatial preview on SQL server works fine. I have tried importing from both ESRI 
FILE Geod and shapefiles. Same issue.

Any suggestions? Common pitfalls?


Ragnvald
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver in geonode facilitating environmental spatial data infrastructures

2014-01-22 Thread Ragnvald Larsen
I have written a blog post on how we integrate geonode (including geoserver and 
geonetwork) with other tools as part of establishing national environmental 
spatial data infrastructures for partners within a development program:

http://www.mindland.com/wp/clearinghouse-environment-girders-ii/


Cheers!

Ragnvald Larsen
Senior Engineer, Environmental data dept.

[cid:image002.jpg@01CF17C0.4845FE20]

Norwegian Environment Agency
Telefon: +47 73 58 05 00
Mobil: +47 92 42 15 40
E-post: r...@miljodir.no<mailto:r...@miljodir.no>
CV: http://www.linkedin.com/in/ragnvald


www.miljødirektoratet.no<http://www.miljødirektoratet.no/> - 
www.miljøstatus.no<http://www.miljøstatus.no/>


(crossposted to geonode and SCGIS user lists)
<><>--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Deployment package for geoserver workspace content

2014-01-14 Thread Ragnvald Larsen
We work with external developers on some of our products. Since they do not 
have access to our geoservers we once in a while face the challenge of 
deploying their setups on our servers.

I am wondering if an option to have a deployment package has been considered? 
In my view a deployment package should include a full workspace with layers and 
related styles. An option to completely delete all old content within the scope 
(workspace or other) would also be relevant. It could also be useful in 
relation to duplication/distribution efforts and backup situations.

I guess it could be done with some cunning scripting wrapping relevant parts 
together and copying them onto the destination server? Has anyone had any 
experience with such scripting?

Cheers!

Ragnvald Larsen
Senior Engineer, Environmental data dept.

[cid:image002.jpg@01CF112D.16EDFDD0]

Norwegian Environment Agency
Telefon: +47 73 58 05 00
Mobil: +47 92 42 15 40
E-post: r...@miljodir.no<mailto:r...@miljodir.no>
CV: http://www.linkedin.com/in/ragnvald


www.miljødirektoratet.no<http://www.miljødirektoratet.no/> - 
www.miljøstatus.no<http://www.miljøstatus.no/>


<><>--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Presenting geoserver getcapabilities information in Wordpress (iframe)

2013-11-08 Thread Ragnvald Larsen
Our institution uses Geoserver on a daily basis for serving map layers. We are 
also using Geoserver/Geonode/Wordpress in development aid projects in different 
countries(http://mapa.meioambiente.tl/). The institution I work at is very 
happy with Geoserver.

This time, rather than asking a question I would like to present a small tool 
which works "on top" of geoserver.

Presenting information online using wordpress poses problems when you want to 
dynamically retrieve a list of layers. I recently made a php-script which 
easily lends itself to iframe-use from within WordPress. It makes an overview 
map using openlayers, and it lists the map layers with thumbnail maps and key 
layer information from Geoserver. However - I guess that:


* Better solutions are available elsewhere

* The code I wrote can be more efficient

* It can easily be ported to other platforms

I wrote a post about this on my blog 
(www.mindland.com). The code is available on github 
(https://github.com/ragnvald/wms_tools/tree/master/php_scripts/wms_info). 
Comments and further developments/suggestions are most welcome.

Cheers!

Ragnvald
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] XML-file in the shapefile export

2013-11-07 Thread Ragnvald Larsen
I am publishing some files using the shapefile export. This is a sample request:

http://my.server.com/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=protectedareas:forest_reserves&outputFormat=SHAPE-ZIP

The file exports files with the file types shx,shp,prj,dbf and cst. In addition 
wfsrequest.txt.

Since geoserver allows for some meta-data I am wondering if it is possible to 
have this data exported as an xml metadatafile.

I am using geoserver 2.1-SNAPSHOT (16-Oct-2012 06:19).

Cheers,

Ragnvald
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] XML-file in the shapefile export

2013-11-07 Thread Ragnvald Larsen
I am publishing some files using the shapefile export. This is a sample request:

http://my.server.com/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=protectedareas:forest_reserves&outputFormat=SHAPE-ZIP

The file exports files with the file types shx,shp,prj,dbf and cst. In addition 
wfsrequest.txt.

Since geoserver allows for some meta-data I am wondering if it is possible to 
have this data exported as an xml metadatafile.

I am using geoserver 2.1-SNAPSHOT (16-Oct-2012 06:19).

Cheers,

Ragnvald
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] XML-file in the shapefile export

2013-11-07 Thread Ragnvald Larsen
I am publishing some files using the shapefile export. This is a sample request:

http://my.server.com/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=protectedareas:forest_reserves&outputFormat=SHAPE-ZIP

The file exports files with the file types shx,shp,prj,dbf and cst. In addition 
wfsrequest.txt.

Since geoserver allows for some meta-data I am wondering if it is possible to 
have this data exported as an xml metadatafile.

I am using geoserver 2.1-SNAPSHOT (16-Oct-2012 06:19).

Cheers,

Ragnvald
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] SQL view layers, large tables and the TIME dimension

2013-04-17 Thread Ragnvald Larsen
I wrote a blog posting on a slightly related issue:

http://www.mindland.com/wp/parameter-standardization-for-sql-fed-queries-through-wmswfs/

Parsmeters to SQL queries can be a bit complicated and cumbersome. The lack of 
standards for parameters is one of them.

Vennlig hilsen

Ragnvald

On 17. apr. 2013, at 07:53, 
"geoserver-users-requ...@lists.sourceforge.net"
 
mailto:geoserver-users-requ...@lists.sourceforge.net>>
 wrote:

[Geoserver-users] SQL view layers,large tables and the TIME
   dimension

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] PDF rendering err?

2013-02-11 Thread Ragnvald Larsen
Using geoserver version 2.2.4 I am having some issues with the PDF-rendering. 
This is an example:

http://wms.dirnat.no/geoserver/fjordkatalogen/wms?service=WMS&version=1.1.0&request=GetMap&layers=fjordkatalogen:fjordkatalogen_omrade&styles=&bbox=-77239.0,6448286.0,1103792.72,7940451.0&width=405&height=512&srs=EPSG:32633&format=application/pdf

What happens is I get a lot of "spikes" in the rendering. PNG renders nicely:

http://wms.dirnat.no/geoserver/fjordkatalogen/wms?service=WMS&version=1.1.0&request=GetMap&layers=fjordkatalogen:fjordkatalogen_omrade&styles=&bbox=-77239.0,6448286.0,1103792.72,7940451.0&width=405&height=512&srs=EPSG:32633&format=image/png

To me it looks like the PDF rendering has a flaw since the same problem occurs 
with different layers.

Cheers!

Ragnvald

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoWebCache, KML and 1 pixel gap between

2012-05-22 Thread Ragnvald Larsen
Hello Rafael,
 This might be due to antialiasing. Check the discussion earlier in this 
forum:

http://osgeo-org.1560.n6.nabble.com/Styling-of-polygons-gives-white-border-tt4832364.html#none


Cheers,

Ragnvald

www.mindland.com / www.dirnat.no
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] From the trenches - MSSQL spatial and ArcSDE

2012-05-16 Thread Ragnvald Larsen
>From a user point of view we look at the performance issue in MSSQL spatial 
>/geoserver as a challenge. Geoserver is good for us, but being able to use it 
>with MSSQL spatial or evenAarcSDE is becoming important.

A fair and good PostGIS/MSSQL "shootout" could be relevant towards developing 
our operating environment.

Ragnvald

ragnv...@mindland.com / 004792421540 / www.mindland.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] From the trenches - MSSQL spatial and ArcSDE

2012-05-16 Thread Ragnvald Larsen
We are keeping around 75.000 spatial objects in a MSSQL Spatial database. 
Simple features - just squares in a grid system. Our geoserver defined layers 
combine the spatial data through joins from rather big tables (2.500.000 and 
2.100.000) through various parameters. We connect to the Microsoft SQL as a 
normal vector data source.

We expect a fair number of users on our system and are now doing some capacity 
testing. Currently it looks like one wms-request takes around 6 seconds to 
process for the whole area. The SQL operation for the join is not the problem. 
Our consultants has informed us that our current version of Geoserver (2.1.3) 
has to get the geometries as WKT from MSSQL. Testing with Geoserver 2.2 beta 
indicates that this version handles the job differently - geometries are 
subject to a binary cast. But we are looking for ways to speed up things. It 
seems like our twin geoservers are quite relaxed, while the MSSQL server is 
busy. One way forward is to up our virtual MSSQL server memory somewhat (from 
48Gb) and we are hoping  to see performance increase with more users active.

Still - we have to consider our options. So we took a look at the good old 
ArcSDE  extension (http://docs.geoserver.org/latest/en/user/data/arcsde.html). 
It seems like not much has happened here on the development side.  Our current 
operating environment is ArcSDE 9.2 SP4, but I am told that we on a client side 
could use a higher version.  Would this theoretically help us to speed up 
things?

Other ideas for speeding up things are more than welcome!


Cheers,

Ragnvald
(geoblog: www.mindland.com)
Senior Engineer, Environmental data section
Tlf:   +47 73 58 05 64
Mob:+47 92 42 15 40
The Norwegian Directorate for Nature Management
www.dirnat.no

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Cloning a workspace

2012-04-27 Thread Ragnvald Larsen
Workspace cloning is a challenge we also are seeing in our work. We keep our 
geoservers running in a pool of currently two servers. Since we only have two 
servers running we are comfortable by duplicating the setup from geoserver1 to 
geoserver 2 manually through the GUI. We are however continuously considering 
adding more virtual "iron" to our setup should this be necessary. This is when 
the request from Charles Galpin becomes relevant.

What if we suddenly wanted to copy our complete setup to another server? I 
would suggest two  command line level functions: exportsetup -f filename.zip 
and importsetup -filename.zip.

The functionality should be able to handle all dependencies so that one in 
theory could script the whole thing.

Cheers!

Ragnvald
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] To tile or not to tile

2012-04-13 Thread Ragnvald Larsen
I have been looking for some statistics on differences in efficiency for 
Geoserver in providing map tiles or arbitrary maps. Tile caching is not an 
option in one of our projects due to the use of SQL parameter WMS services 
(http://www.mindland.com/wp/?p=121).

Any statistics or sources for further information are interesting.

Cheers,

Ragnvald

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling of polygons gives white border

2012-04-12 Thread Ragnvald Larsen
Solved: The white line in between our 67.000+  squares was not completely 
white. So we started looking at antialising. Turns out this is due to 
antialising. Problem solved. Different default settings between the open source 
and ESRI world:)

Ragnvald

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling of polygons gives white border

2012-04-12 Thread Ragnvald Larsen
I exported the object as GML and noted that our squares are sharing corner 
coordinates. This means that there are no openings in between the polygons.

The square objects also render with a space in QGIS while they render without 
in ArcMap. I would say that the way the objects render in QGIS and Geoserver 
are wrong. That's of course my opinion, and it might of course intentional.

Cheers!

Ragnvald


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Styling of polygons gives white border

2012-04-11 Thread Ragnvald Larsen
We are using a UTM based grid square to visualize some generalized data. The 
produced map tiles are presented with a white line in between the objects.


* http://twitpic.com/98ib8r

Even the sample provided in the SLD cookbook seems to have this issue:


* 
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html#simple-polygon

We would rather that we had no lines in between the polygons. The styling gives 
us a rather annoying moire pattern when we zoom out (the extent is big ocean 
areas). I tried fixing this using stroke in this manner:


 
#f09e9c
0.7
 

  #f09e9c
  1
  0.1



It still does not help much since the opacity is additive and in the end of the 
day it gives us lines in a different colour. I am wondering if this is a bug or 
a feature.

In any case I'm stuck with this thin lines. Any ideas for solving it?


Cheers!

Ragnvald
Senior Engineer, Environmental data section
Tlf:   +47 73 58 05 64
Mob:+47 92 42 15 40
The Norwegian Directorate for Nature Management
www.dirnat.no

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] wms forwarding scale restriction

2012-02-03 Thread Ragnvald Larsen
We are using wms cascading on data from a partner. They are providing the data 
in 4 different scales. We would like to combine these four layers into one 
layer.

Layer grouping could be relevant. With scale restriction on the different 
layers we would then be able to have a seamless use of the four layers - 
effectively hiding the fact that we are providing four layers from our users. 
An in this case actually also making the requests from a portal system an 
easier programming task.

However - it seems like scale restrictions are not available for cascaded wms 
layers (or regular rasters for that matter).

Any suggestions for solving this issue?

Ragnvald



--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver admin training

2012-01-12 Thread Ragnvald Larsen
One of our partners is a network admin. It is necessary he attends to a 
geoserver training to learn the basics about how to use the system and how to 
keep it running smoothly on his servers (linux). Any suggestions?

Regards,

Ragnvald

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver on SUSE?

2011-11-18 Thread Ragnvald Larsen
My office is using Suse linux as the standardized linux platform. The reason is 
due to its integration with vmware virtualization.

I have been googling around after info on SUSE platform and Geoserver. Not many 
seem to be running on that platform. Correct? Which linux platform would be 
most used? Which is mostly used by OpenGeo and developers?

Ragnvald

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


Re: [Geoserver-users] content.ftl order of attributes mixed up

2011-10-31 Thread Ragnvald Larsen
Thanks Ian, it solved the problem!

But I still think that my misconception points to a pedagogical challenge here. 
Why did I make this mistake?

· I am not very used to ftl

· It works fine when the .dbf (shapefile) has the same order as it 
should be presented in html

· I assumed that the list directive would iterate through the posts 
sending the attributes per post for processing as a list which could be tested.

So, accepting my err there is not much else to do but to fix up a couple of 
ftl-scripts ☺

Cheers and thanks again!

Ragnvald

--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] content.ftl order of attributes mixed up

2011-10-31 Thread Ragnvald Larsen
I am having a problem with attribute orders while using FTL. My sweet 
content.ftl file looks like this:



Art
Latin
Areal (km2)



<#list features as feature>

<#list feature.attributes as attribute>
<#if !attribute.isGeometry>

<#if 
attribute.name="art_norsk">

${attribute.value}

<#if 
attribute.name="art_latins">

${attribute.value}

<#if 
attribute.name="km2">

${attribute.value}









It produces this getfeatureinfo for html:

Art

Latin

Areal (km2)

6298.26717326

Bjørn

Ursus arctos


The feature attributes (from a shapefile) is presented in the order of the data 
within the shapefile (km2, art_norsk, art_latins), and not according to my 
content.ftl-script (art_norsk, art_latins, km2). The shapefile in question is 
available here:


· http://db.tt/M3Nfcvbb

Bug or human error somewhere on my side?

http://db.tt/M3Nfcvbb


Cheers,

Ragnvald

PS Tomorrow we will start serving geoserver wms services officially :)

Senior Engineer, Environmental data section
Tlf:   +47 73 58 05 64
Mob:+47 92 42 15 40
The Norwegian Directorate for Nature Management
www.dirnat.no

--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Relocating GWC

2011-10-19 Thread Ragnvald Larsen
Using Geoserver 2.1.1 on Windows 2008 RC2 Server we experienced some problems 
in relocating the folder for GeoWeb Cache.

We followed the instructions found here:

* http://docs.geoserver.org/stable/en/user/geowebcache/config.html?highlight=gwc

...and added the following to WEB-INF/web.xml

  
  
GEOWEBCACHE_CACHE_DIR
D:\gwc_cache_dir
  

We created an empty D:\gwc_cache_dir and restarted Geoserver. Unfortunately it 
never started so we checked permissions and tried to create a subdir called gwc 
- but still no success so we removed the config from web.xml and restarted 
geoserver. This at put us back on square one - which was good for something :)

What could be wrong? Docs problem, or did we mess up somewhere?

Cheers!

Ragnvald




--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Problems with getfeatureinfo

2011-10-18 Thread Ragnvald Larsen
For one reason or the other our datastore.xml has been corrupted:


  DataStoreInfoImpl-7e6ae460:130f8a2147a:-750e
  forvaltningsomrader_rovdyr
  Directory of spatial files (shapefiles)
  true
  
WorkspaceInfoImpl-7e6ae460:130f8a2147a:-7510
  
  
false
true
ISO-8859-1
shapefile
true
file:data/shapefiles/forvaltningsomrader_rovdyr/
http://wms.dirnat.no/geoserver/grunnkart/
  
  <__default>false



In the connection parameters it says "grunnkart" instead of 
#forvaltinngsomrader_rovdyr". Now how did we (mis-)manage that?

Ragnvald


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


Re: [Geoserver-users] Problems with getfeatureinfo

2011-10-17 Thread Ragnvald Larsen
I am using localhost:8080 for testing purposes.

We are using an external address since we are pooling two (equal) servers.  But 
for testing purposes we decided not to test the request externally. Although 
upon testing it now it seems the problem persists also for external sources.

For some reason the request refaults back to our default workspace (grunnkart), 
and omits the workspace in the naming of the layer - hence the ":" before the 
layername.


Ragnvald


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


[Geoserver-users] Problems with getfeatureinfo

2011-10-17 Thread Ragnvald Larsen
We are establishing a service with a management area for bears. But we are 
failing for this file when it comes to getfeatureinfo. It fails.

The shapefile in question is available here:

http://dl.dropbox.com/u/6193564/bears_management_area.zip

To reproduce the error:

* Add workspace 
(forvaltningsomrader/http://wms.dirnat.no/forvaltningsomrader_rovdyr) not 
default
* Place the file in a folder and add a store using "Directory of spatial files 
(shapefiles).
* Add a layer resource named bjorn_forvaltningsomrade. Use default polygon 
style. UTM zone 32N.
* Use layer preview to browse the layer. Press on one of the features 
(getfeatureinfo)

This produces the following error message on our end:

java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a 
CoverageInfo or WMSLayerInfo named 
http://wms.dirnat.no/geoserver/grunnkart/:bjorn_forvaltningsomrade Can't find 
neither a FeatureType nor a CoverageInfo or WMSLayerInfo named 
http://wms.dirnat.no/geoserver/grunnkart/:bjorn_forvaltningsomrade

Full error log (from 2.1.1-server)  available here:

* http://dl.dropbox.com/u/6193564/bears_management_area.TXT

The error is the same on our Geoservers running 2.1.1 (Windows 2008 R2 
Standard, SP1) and 2.1.0 (Windows 7 SP1, testserver).

Any ideas?


Cheers,

Ragnvald

Senior Engineer, Environmental data section
    Tlf:   +47 73 58 05 64
    Mob:    +47 92 42 15 40
The Norwegian Directorate for Nature Management
www.dirnat.no


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


[Geoserver-users] Geoserver and MSSQL 2008

2011-05-12 Thread Ragnvald Larsen
We are hosting a fair amount of data on MSSQL server 2008 spatial. We are 
currently using ArcGIS server and ArcIMS(!) to forward this data according to 
the WMS standard.

We have earlier tried using this plugin with Geoserver 2.1 RC2:

http://docs.geoserver.org/stable/en/user/data/sqlserver.html

What could we expect with regards to stability, predictability and capacity 
using this plugin on Geoserver 2.1. We earlier got a couple of "exclamation 
marks" and hung connections. This experience was as I mentioned based on using 
on RC2 on a VERY small scale. What we are looking for is better documentation 
and some success examples - if possible.

This is necessary for Geoserver to prove itself as an alternative to ArcGIS 
Server and/or Mapserver.

Anyone?

Ragnvald

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Reprojection issues between 4326 and 32633

2011-03-16 Thread Ragnvald Larsen
I would check my data for topology errors. Seems like there is some issues with 
your polygons.

Ragnvald
Senior Engineer, Environmental data section
Tlf:   +47 73 58 05 64
Mob:+47 92 42 15 40
The Norwegian Directorate for Nature Management
www.dirnat.no

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Installing Monitoring plugin for 2.1 RC2 error

2011-03-14 Thread Ragnvald Larsen
We are wondering which versions of the different java libraries should be used 
for the monitoring plugin. And also how robust our install would be if we used 
the wrong ones.

We made 2.1 RC2 work with this plugin:

http://gridlock.opengeo.org/geoserver/2.1.x/community-2011-03-14/geoserver-2.1-SNAPSHOT-monitor-plugin.zip

...while using the four missing libraries from this plugin:

http://gridlock.opengeo.org/geoserver/trunk/community-latest/geoserver-2.2-SNAPSHOT-monitor-plugin.zip

Now - since the 2.1 branch build is without the correct libraries a happy 
amateur and user like me is left pondering if the "happy-go-lucky" attitude 
towards java libraries, for the lack of a better word, is sustainable...

I guess we are running the risk of messing up our production system if we keep 
on juggling libraries around like this. We are running 2.1 RC2 now and have so 
far not had many problems with it. Hopefully errors in the monitoring plugin 
setup will not be enough to break our install. Any thoughts on this?

Ragnvald
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Installing Monitoring plugin for 2.1 RC2 error

2011-03-14 Thread Ragnvald Larsen
The issue was indeed related to missing libraries. 
geoserver-2.1-SNAPSHOT-monitor-plugin  has only 17 files and compared to 
geoserver-2.2-SNAPSHOT-monitor-plugin which has 21 files it is missing these 
libraries:

-antlr-2.7.6.jar
-joda-time-1.6.jar
-poi-3.2-FINAL.jar
-wicket-datetime-1.4.12.jar

geoserver-2.2-SNAPSHOT-monitor-plugin with the full list:
-antlr-2.7.6.jar
-asm-1.5.3.jar
-asm-attrs-1.5.3.jar
-cglib-2.1_3.jar
-cglib-nodep-2.1_3.jar
-dom4j-1.6.1.jar
-ehcache-1.2.3.jar
-ejb3-persistence-1.0.1.GA.jar
-hibernate-3.2.6.ga.jar
-hibernate-annotations-3.3.1.GA.jar
-hibernate-commons-annotations-3.0.0.ga.jar
-hibernate-entitymanager-3.3.2.GA.jar
-jcommon-1.0.0.jar
-jfreechart-1.0.1.jar
-joda-time-1.6.jar
-jta-1.0.1B.jar
-monitoring-2.2-SNAPSHOT.jar
-persistence-api-1.0.jar
-poi-3.2-FINAL.jar
-spring-orm-2.5.5.jar
-wicket-datetime-1.4.12.jar

Added the mentioned libraries to the lib folder on our windows system and 
monitoring was up and running:

C:\Program Files (x86)\GeoServer 2.1-RC2\webapps\geoserver\WEB-INF\lib

Maybe a test of some kind on geoserver could give a status of all required 
libraries and also list the ones missing. This could be part of Geoserver 
status. It could also list dates/versions of the different libraries. For some 
users knowing the versions could be useful.

Ragnvald

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Installing Monitoring plugin for 2.1 RC2 error

2011-03-10 Thread Ragnvald Larsen
Hi all,
we are trying to install the monitoring plugin for 2.1 RC2. We are trying 
to install the version available from:


·Downloads >Nightly> Nightly builds for trunk

The folders are created as they should, but nothing else useful happens. 
Basically it fails and gives us the err message below. Anyone?

Cheers!

Ragnvald
HTTP ERROR: 500

antlr/ANTLRException

RequestURI=/geoserver/web/

Caused by:

java.lang.NoClassDefFoundError: antlr/ANTLRException

at 
org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:35)

at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:74)

at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)

at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)

at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)

at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)

at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at 
org.springframework.orm.hibernate3.HibernateTemplate$CloseSuppressingInvocationHandler.invoke(HibernateTemplate.java:1289)

at $Proxy23.createQuery(Unknown Source)



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Monitoring plugin for 2.1 RC2?

2011-03-09 Thread Ragnvald Larsen
Hello all (anyone),
 Looking for the monitoring plugin for 2.1 RC2. RC 2 runs sweetly and we 
are now putting some external load on it. So the monitoring plugin could come 
in handy for us to find out just how much load is on our services. Could it be 
expected, and if so when?

Ragnvald

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Windows 2008, Geoserver 2.1 RC2: Error rendering coverage on the fast path

2011-02-16 Thread Ragnvald Larsen
I am running Geoserver 2.1 RC1 on Windows Server 2008 R2. I have just spent 
some 8 hours to establish an Geoserver edible GeoTIFF image. Now I know how to, 
but Geoserver 2.1 RC1 stumbles somewhere when trying to present the defined 
layer and makes a mess of the presentation giving me the following reply "Error 
rendering coverage on the fast path".

This has been addressed in other messages to this list. But this goes to show 
that it also happens on Windwos Server 2008 R2.

Other than this - Geoserver is looking more and more like a masterpiece to me. 
I am glad to use it, although I in the last 48 hours incompetently and 
increasingly competently have worked my way through the workings and setting up 
of ImagePyramids. I would assume this issue is solved in the next RC. Hope so, 
really. My colleagues are chanting the name of a well-known commercial 
alternative these days in version 10... ;-)


Regards,

Ragnvald


Error log:

2011-02-16 20:11:27,174 DEBUG [geoserver.ows] - Getting layers and styles from 
LAYERS and STYLES
2011-02-16 20:11:27,174 DEBUG [geoserver.ows] - establishing raster style for 
se250_raster:se250_grunnkartan
2011-02-16 20:11:27,174 DEBUG [geoserver.wms] - setting up map
2011-02-16 20:11:27,174 DEBUG [wms.map] - setting up 227x512 image
2011-02-16 20:11:27,174 DEBUG [geotools.styling] - number of fts set 1
2011-02-16 20:11:27,174 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
   at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:292)
   at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:209)
   at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:124)
   at org.geoserver.wms.GetMap.run(GetMap.java:461)
   at org.geoserver.wms.GetMap.run(GetMap.java:110)
   at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:338)
   at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
   at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:51)
   at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:33)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
   at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy21.getMap(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:624)
   at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
   at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
   at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
   at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
   at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet

[Geoserver-users] Cyrillic letters in labels

2011-02-01 Thread Ragnvald Larsen
I am helping a Bulgarian Colleague with setting up Geoserver for a project. We 
are using the 2.1-RC1. Labeling seem to fail in the sense that the Cyrillic  
shows up as garbage. Setting the xml encoding to windows-1251 does not help 
either. I did a check and it seems to be an error slightly related:

http://jira.codehaus.org/browse/GEOS-4250

However for us the case is that the polygon is drawn properly and also labeled 
- except for the fact that the label text is garbeled. Any ideas to solve this, 
or is it a separate bug?

Ragnvald
(in Sofia, Bulgaria)

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] 50 % of the tiles fail...

2011-01-09 Thread Ragnvald Larsen
Thanks Ian and David,
I am still at the same place thought. The server log says:

2011-01-10 00:12:14,891 TRACE [geotools.util] - Error applying the converter 
class org.geotools.util.NumericConverterFactory$NumericConverter on (0,4,class 
java.lang.Double)
java.lang.NumberFormatException: For input string: "0,4"
   at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
[..]
2011-01-10 00:12:14,891 WARN [geotools.rendering] - Assuming rendering buffer = 
0, but estimation is not accurate, you may want to set a buffer manually
2011-01-10 00:12:14,891 DEBUG [geotools.rendering] - Querying layer 
inos_1990_pyram_f with bbox: ReferencedEnvelope[2323148.6978267 : 
2363985.7137593, 1.5649517437866E7 : 1.5690354453799E7]
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-01-10 00:12:14,891 TRACE [data.shapefile] - Reading from file...
2011-01-10 00:12:14,891 TRACE [index.quadtree] - QuadTree opened
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.qix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.dbf by 
org.geotools.data.shapefile.dbf.IndexedDbaseFileReader
2011-01-10 00:12:14,891 TRACE [data.shapefile] - Dbase File Reader has been 
opened. Number open: 1
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-01-10 00:12:14,891 TRACE [data.shapefile] - Shapefile Reader has been 
opened. Number open: 1
2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has been opened. 
Number open: 1
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-01-10 00:12:14,891 TRACE [data.shapefile] - Memory mapping file...
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore: inos_1990_pyram_f
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.fix by 
org.geotools.data.shapefile.indexed.IndexedFidReader
2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexedFidReader has been 
opened. Number open: 1
2011-01-10 00:12:14,891 DEBUG [geotools.data] - Recasting feature type to 
subtype by using a ReTypeFeatureReader
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shp by 
org.geotools.data.shapefile.shp.ShapefileReader
2011-01-10 00:12:14,891 TRACE [data.shapefile] - Shapefile Reader has been 
closed. Number open: 0
2011-01-10 00:12:14,891 DEBUG [data.shapefile] - Read lock: 
file:/d:/data_dir/data/shapefiles/inos/inos_1990_pyram_f.shx by 
org.geotools.data.shapefile.shp.IndexFile
2011-01-10 00:12:14,891 TRACE [data.shapefile] - IndexFile has be

[Geoserver-users] 50 % of the tiles fail...

2011-01-09 Thread Ragnvald Larsen
Using Geoserver 2.0.2 on Windows. Half of the tiles in my overlays fail to 
display. The missing tiles and the produced tiles form a very nice chessboard 
pattern. Not very useful. I have tried to figure out what the problem could be, 
and I have so far not succeeded. The code is available below. As for the map 
just think of a chessboard where every other square says:

"code="LayerNotDefined" could not find la [rest is gone off the tile]
Inos:inos_1990"

Cheers!

Ragnvald


var format = 'image/png';

var map,inos_1990;

function init(){

map_controls = [ new OpenLayers.Control.OverviewMap(),
   new 
OpenLayers.Control.LayerSwitcher({'ascending':true}),
   new OpenLayers.Control.PanZoomBar(),
   new OpenLayers.Control.MouseToolbar(),
   new OpenLayers.Control.KeyboardDefaults()];


  var urlArray = ["http://localhost/geoserver/wms?service=wms";,
"http://localhost/geoserver/wms?service=wms";,
"http://localhost/geoserver/wms?service=wms";];

var bounds  =  new 
OpenLayers.Bounds(1057201.203916,1.2545904226990476E7,3765604.414539889,1.6119143121091189E7);
 //minX,minY,maxX,maxY values

map = new OpenLayers.Map( 'map', {
projection: "EPSG:900913",
maxExtent: bounds,
maxResolution: 'auto', // tilsvarer 
zoom level 3 (hele er 21664.0)
units: 'm',
  controls: map_controls
  } );


var ls = map.getControlsByClass('OpenLayers.Control.LayerSwitcher')[0];

ls.maximizeControl();


 layer = new OpenLayers.Layer.WMS(
  "OpenLayers WMS",
  "http://labs.metacarta.com/wms/vmap0";,
  {layers: 'basic',
  srs: 'EPSG:900913'}
  );

  map.addLayer(layer);



inos_1990 = new OpenLayers.Layer.WMS( "INOS 1990 fastland",
 urlArray,
   {
 layers: 'inos:inos_1990',
 styles: '',
 srs: 'EPSG:900913',
 format: format,
   transparent: 
"true"

},

{opacity:0.5},
 { singleTile: true, ratio: 1 },
  {isBaseLayer: false, visibility: true}
 );

map.addLayer(inos_1990);

inos_1990.setVisibility(false);

inos_1990_pyram_f = new OpenLayers.Layer.WMS( "INOS vurdering 
pyramiden",
 urlArray,
   {
 layers: 'inos:inos_1990_pyram_f',
 styles: '',
 srs: 'EPSG:900913',
 format: format,
 transparent: "true"
},
{opacity:0.5},
 {isBaseLayer: false, visibility: true}
 );

map.addLayer(inos_1990_pyram_f);

inos_1990_pyram_f.setVisibility(false);


map.zoomToExtent(bounds);

//map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);

}

[cid:image001.jpg@01CBB03C.293533F0]

Senioringeniør, IT og Geodataseksjonen
Tlf:   73 58 05 64
Mob:92421540
Direktoratet for naturforvaltning
- for liv i naturen og natur i livet
www.dirnat.no

<>--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge

[Geoserver-users] Virtual OWS Services confusion

2011-01-04 Thread Ragnvald Larsen
We are planning on using geoserver for some of our WMS services. The virtual 
OWS services functionality coming with Geoserver 2.1 is most welcome (*). But I 
still have some questions to how it is implemented.

We recognize that we can use the following query to have a grouped 
GetCapabilities by formatting our query this way:

http://localhost:8080/geoserver/topp/wfs?request=GetCapabilities

The above will give us a reply starting something like this:



http://www.openplans.org/topp";>
topp:tasmania_cities
 --

Given that we are using unique names we would prefer there not being a 
reference to the workspace in the layer name. Is there a way of disabling the 
workspace reference in the name? I am aware of the possibility of using layer 
groups, but would like to avoid using that option.


Cheers!

Ragnvald Larsen

Senior Engineer, IT and Geodata
Cell:   +4792421540
Office: +4773580564
Directorate for Nature Management
Norway
www.dirnat.no

*) http://docs.geoserver.org/latest/en/user/services/virtual-services.html

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] 2.0.2: LF/CR in Abstract gone?

2010-12-18 Thread Ragnvald Larsen
I am using wms-parser.php (*1) to retrieve metadata from Geoserver 2.0.2. We 
have put information with linefeeds in the Abstract section Data tab under 
layer editing. When retrieving the Abstract this is done with no LF/CR 
information. This means that the text comes in one line.

Is this because Geoserver 2.0.2 returns the text without LF/CR, or is it 
because of an err/shortcoming in the wms-parser.php library? I am using a 
fairly old version of the wms-parser.php (*2) which is around 4/5 years old. 
Are there any other libraries which are relevant for the same functionality 
from PHP.

Ragnvald


1) 
http://geoserver.org/display/GEOSDOC/Parsing+and+using+WMS+capabilities+with+PHP
2) 
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/carto/wms-parser.php

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Layer preview filter direct link

2010-12-10 Thread Ragnvald Larsen
I am trying to open a subset in the layer preview list. This is currently 
possible using the search-field. I would however prefer this to be possible by 
either using a direct link which performs a search or a link which filter based 
on workspace. Is this possible? How?

I am using Geoserver 2.0.2


Ragnvald

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users