Re: [Geoserver-users] Image Mosaic JDBC single band raster losing data values

2013-11-05 Thread nroberts
Attaching a slighly better patch (ArrayOutOfBoundsException in fixed on zoom
out)

32bit_raster-patch2.patch
  


nroberts wrote
> Hi Cristian, 
> 
> the patch for the hack is attached. 
> 32bit_raster.patch
>   
> 
> I did update my test raster to explicitely set noDataValue.
> 
> This patch only works for 32bit Integer rasters at the moment.
> 
> Also, there are some problems - zoom out still have some issues: either
> black border surrounding the image or ArrayOutOfBoundsException, but
> panning doesn't produce black border any more. 
> 
> I am working on fixing these issues... Will attach another patch if/when I
> fix it. If you think this solution is not suitable at all, can you please
> let me know so I don't waste time on it
> 
> Thanks!
> Nataliya





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-JDBC-single-band-raster-losing-data-values-tp5058549p5087572.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] Image Mosaic JDBC single band raster losing data values

2013-11-05 Thread nroberts
Hi Cristian, 

the patch for the hack is attached. 

32bit_raster.patch
  

I did update my test raster to explicitely set noDataValue.

This patch only works for 32bit Integer rasters at the moment.

Also, there are some problems - zoom out still have some issues: either
black border surrounding the image or ArrayOutOfBoundsException, but panning
doesn't produce black border any more. 

I am working on fixing these issues... Will attach another patch if/when I
fix it. If you think this solution is not suitable at all, can you please
let me know so I don't waste time on it

Thanks!
Nataliya





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-JDBC-single-band-raster-losing-data-values-tp5058549p5087564.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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] HeatMap and tiles maps

2013-11-05 Thread osullivj
Hi

I would like to use geowebcache behind my heatmap transformed data but it
looks like it is not possible. I get a similar effect to that outlined in
http://gis.stackexchange.com/questions/56697/wms-bounded-overlay-with-openlayers-and-geoserver
basically that the tiles are disjointed http://i.stack.imgur.com/ydBSN.png.
As I can't get the correct tiled effect working geowebcache is out of the
question.

I know the docs state clearly that

/Rendering transformations may not work correctly in tiled mode, unless they
have been specifically written to accommodate it./

I am just wondering if there is plan to fix this? I can't see anything in
JIRA

Thanks,
J



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/HeatMap-and-tiles-maps-tp5087557.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] raster rendered issue when upgrading from 2.4RC1 to 2.4.1

2013-11-05 Thread Simone Giannecchini
Ciao John,
this should not happen unless you manulally dumped the gdal-geotiff
jar from imageio-ext yourself into GeoServer.
That file is not part the gdal extension ( I checked :) ).

I would do this, I would remove that JAR from geoserver and change
this one line in the mosaics properties:



SuggestedSPI=it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpi

this would tell the mosaic to use the standard pure java TIFF reader.

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 Tue, Nov 5, 2013 at 5:29 PM, John Callahan  wrote:
> I believe the problem is fixed but wanted to describe it to the list in case
> an alternate fix would have been more appropriate.
>
> I am serving raster data using both the ImagePyramid and ImageMosaic
> plugins.  Mostly GeoTiffs. I am also using the integrated GWC and for the
> most part, things have been working well for the past few months using
> GeoServer 2.4 RC1.
>
> When I upgraded to 2.4.1 last week, one of my layers using ImagePyramid
> (with GeoTIFFs as the data source) would not render.  GWC cached images
> displayed fine but once I went deeper into the imagery where cached images
> didn't exist, the following error would appear:
>
> org.geotools.data.DataSourceException: java.lang.ClassNotFoundException:
> it.geosolutions.imageio.plugins.geotiff.GeoTiffImageReaderSpi
>
>
> To fix it, I copied imageio-ext-gdalgeotiff-1.1.7.jar from the 2.4 RC1
> installation into the 2.4.1. Apparently, this file was not included in 2.4.1
> or the GDAL extension.My guess is that this one particular layer was
> using the GDAL GeoTiff driver back in 2.4 RC1 but in 2.4 GeoServre was
> trying to use the native (non-GDAL) GeoTiff driver.  I probably could have
> deleted the later and created it again.  However, I didn't want to change
> the layer settings if I could help it.   It seems this issue may occur again
> during the next upgrade.  Does this make sense?
>
> - John
>
>
> John Callahan
> Research Scientist
> Delaware Geological Survey
> University of Delaware
> http://www.dgs.udel.edu
> john.calla...@udel.edu
>
>
> --
> 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
>

--
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] Layer Preview triggers 62 console WARN "Unable to find property" messages.

2013-11-05 Thread David Gaarsoe
First: geoserver works (duh) and works for me. However its console logging is 
disturbing. Should I be disturbed? 

I see 62 WARN level "Unable to find property" log entries (on console) upon 
clicking "Layer Preview" from the /geoserver home page. 

MSWindows 7, JDK 1.6 or 1.7 (take your pick), geoserver-2.4.1-bin.zip or 
geoserver-2.4.0-bin.zip. Jetty run time. 
Also saw this with geoserver-2.3.2-war.zip housed in Tomcat. 
Oh... and in JBoss, which is where I started. 

Instructions to reproduce: Download and unzip, set environment, startup, wait, 
surf to localhost:8080/geoserver, click "Layer Preview". Bam. 

Does not seem to matter what layers are configured. 

62 different warnings log messages (visible on console) of the form: 

2013-11-05 13:33:00,769 WARN [geoserver.web] - Unable to find property: 
'format.wms.application/vnd.google-earth.kmz xml' for component: 
[class=org.geoserver.web.demo.MapPreviewPage] 
 
2013-11-05 13:33:00,808 WARN [geoserver.web] - Unable to find property: 
'format.wfs.KML' for component: [class=org.geoserver.web.demo.MapPreviewPage] 

Does the out-of-the-box geoserver spew these console warnings for first time 
users? Are they spurious or do they matter? 

Thank you, First time post, 
David Gaarsoe 


This communication may contain information that is confidential, privileged or 
subject to copyright. If you are not the intended recipient, please advise by 
return e-mail and delete the message and any attachments immediately without 
reading, copying or forwarding to others.
--
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] raster rendered issue when upgrading from 2.4RC1 to 2.4.1

2013-11-05 Thread John Callahan
I believe the problem is fixed but wanted to describe it to the list in
case an alternate fix would have been more appropriate.

I am serving raster data using both the ImagePyramid and ImageMosaic
plugins.  Mostly GeoTiffs. I am also using the integrated GWC and for the
most part, things have been working well for the past few months using
GeoServer 2.4 RC1.

When I upgraded to 2.4.1 last week, one of my layers using ImagePyramid
(with GeoTIFFs as the data source) would not render.  GWC cached images
displayed fine but once I went deeper into the imagery where cached images
didn't exist, the following error would appear:

org.geotools.data.DataSourceException: java.lang.ClassNotFoundException:
it.geosolutions.imageio.plugins.geotiff.GeoTiffImageReaderSpi


To fix it, I copied imageio-ext-gdalgeotiff-1.1.7.jar from the 2.4 RC1
installation into the 2.4.1. Apparently, this file was not included in
2.4.1 or the GDAL extension.My guess is that this one particular layer
was using the GDAL GeoTiff driver back in 2.4 RC1 but in 2.4 GeoServre was
trying to use the native (non-GDAL) GeoTiff driver.  I probably could have
deleted the later and created it again.  However, I didn't want to change
the layer settings if I could help it.   It seems this issue may occur
again during the next upgrade.  Does this make sense?

- John


John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.calla...@udel.edu
--
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


Re: [Geoserver-users] How to give rights to one layer from secured workspace?

2013-11-05 Thread sredl

Hi Michelle, all, yes and no:

Yes, thanks a lot, the suggested workaround works, switching the 
catalogue mode to "challenge" helps.


No, this workaround is unfortunately not suitable. We use the "hide" 
mode. We need to hide the layers that the user does not have access to 
from the capabilities document, it would create a mess in our map 
client.


Should I lodge a bug?

To repeat shortly the story:

The layer1 is secured:

  ws.layer1.r=ROLE_READ_L1

but cannot be seen by user who DOES HAVE the ROLE_READ_L1 if

  ws.*.r=OTHER _ROLE

or

  *.*.r=OTHER_ROLE

is set.

It does appear in the LayerPreview list, but requesting the map results 
in 404.


GeoServer 2.3.2 and 2.3.3. Log attached.

Kind Regards,

Michal



Dne 2013-07-09 11:55, Michele Beneventi napsal:

Hi Michal,

I don't know answer about your question but I tried the following:
  
  -
  ws.*.r=ROLE_1
  ws.*.w=ROLE_1
  ws.*.a=ROLE_1

  ws.layer1.r=ROLE_2
  
  with catalogue mode turned to "challenge"
  -
  
as a result I got that ROLE_2 can see all the catalogues layers, but
it can access (Read) only layer1.

could it be a workaround?

Regards
Michele

On Tue, Jul 9, 2013 at 11:12 AM,  wrote:


Hi all,

the following configuration does not allow a user with ROLE_2 only
to
read the layer1 from workspace ws:

  ws.*.r=ROLE_1
  ws.*.w=ROLE_1
  ws.*.a=ROLE_1

  ws.layer1.r=ROLE_1,ROLE_2

Is it a bug or is it an expected behaviour?

Kind regards,

Michal

Dne 04.07.2013 17:56, sr...@ccss.cz napsal:


Hi all,

the only way I see that works is to unsecure the whole workspace

and

secure every layer instead:

#hasici.*.r=ROLE_HASICI
#hasici.*.w=ROLE_HASICI
hasici.*.a=ROLE_HASICI

hasici.pest.r=ROLE_HASICI, ROLE_PEST
hasici.pest.w=ROLE_HASICI
hasici.chemicals.r=ROLE_HASICI
hasici.chemicals.w=ROLE_HASICI
...

This way I can secure all the layers of the workspace and

meanwhile

give the access rights to one layer to more people. I don't like

it

very much though, as it adds a lot of config lines and also, if
accidentally one layer of the workspace is forgotten, it is left
unsecured.

Is this the only solution that should work? If I uncomment the

first

two lines and secure the workspace, then a user with the

ROLE_PEST

and
without the ROLE_HASICI gets 404 when requesting the layer...

Using GeoServer 2.3.2.

Kind regards,

Michal


Dne 04.07.2013 10:03, sr...@ccss.cz napsal:

Hi Michele,

thank you for your answer. No, I am not using service security

at

all.
Of course I do ask for the layer through OWS (and that is what I
want to
do in the map application as well), but I don't use the service
security
to configure it. The file service.properties is present, but
contains
comments only.

The think is, when I try to restrict the access to one

particular

layer
more, (only to people who have the access to the whole ws and

have

some
additional rights) it works, but when I try to give the access

to

one
particular layer to more people, who don't have rights to the

whole

ws,
it fails. The layer is shown in the available preview list, but

404

is
returned.

Kind regards,

Michal


Dne 04.07.2013 09:12, Michele Beneventi napsal:

Hi Michal,
I'm not really involved in the geoserver security module, but I
think
the problem could be in some conflict between "layer security"

and

"service security": if I'm not wrong "layer preview" use WMS
service.

http://docs.geoserver.org/2.3.2/user/security/layer.html [1]

[3]


ciao
Michele

On Wed, Jul 3, 2013 at 7:03 PM,  wrote:


Hi all,

I have a workspace with restricted access:

hasici.*.r=ROLE_HASICI
hasici.*.w=ROLE_HASICI
hasici.*.a=ROLE_HASICI

And I have one layer in the workspace, that should be

accessible

to
more people then the others:

hasici.pest.r=ROLE_HASICI,ROLE_PEST

Then I have a user, who does have ROLE_PEST assigned, and does

not

have the ROLE_HASICI assigned. I assume he should be able to

see

the
layer pest. He logs into geoserver web, and he can see the

layer

'hasici:pest' in the 'Layer Preview' list as expected. But

when he

clicks the 'OpenLayers' link, 404 is shown. The layer can be

seen

by
the users who have the ROLE_HASICI assigned.

Am I missing something? How this should be configured?

Thank you very much for your advice,

Michal






--

This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev [2] [1]
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

[3] [2]




Links:
--
[1] http://p.sf.net/sfu/windows-dev2dev [2]
[2]

https://lists.sourceforge.net/lists/listinfo/geoserver-users [3]

[3] http://docs.geoserver.org/2.3.2/user/security/layer.html

[1]








--

This SF.net email is sponsored by Windows:

Build for Windows Store.

http

Re: [Geoserver-users] Geoserver 2.4.1 master password

2013-11-05 Thread mika
http://jira.codehaus.org/browse/GEOS-6136

- mika -


Christian Mueller kirjoitti 2013-11-05 11:04:
> Yep, the documentation is not up to date. Would be nice if you can
> open a JIRA issue.
>
> Go to the password page, you will find a button to export the master
> password to a file of your choice.
>
> Cheers
> Christian
>
> On Tue, Nov 5, 2013 at 9:33 AM,  wrote:
>
>> Answering to myself. There is a dump master password option in
>> Security/Passwords 'Master password forgotten ?'
>>
>> I was terrified when noticing that the passwword was 'geoserver'! I 
>> was
>> thinking whether I would bother change it at all, because previous
>> versions had unique and quite complicated root passwords.
>>
>> - mika -
>>
>> m...@digikartta.net kirjoitti 2013-11-05 10:06:
>>
>>> Hi,
>> > I noticed that the manual is a little behind the real world when
>> > dealing with the master password setting. There seems not to be 
>> any
>> > masterpw.info [1] anymore. So where can I get the existing master
>> > password
>> > in order to change it as the starting page suggests?
>> >
>> > - mika -
>> >
>> >
>> > 
>> --
>> > 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 
>> [2]
>> > ___
>> > Geoserver-users mailing list
>> > Geoserver-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users [3]
>>
>> 
>> --
>> 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 
>> [2]
>> ___
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users [3]
>
> --
>
> DI Christian Mueller MSc (GIS), MSc (IT-Security)
> OSS Open Source Solutions GmbH
>
>
>
> Links:
> --
> [1] http://masterpw.info
> [2]
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> [3] https://lists.sourceforge.net/lists/listinfo/geoserver-users

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


Re: [Geoserver-users] JSON output including key = null values option?

2013-11-05 Thread Andrea Aime
On Tue, Nov 5, 2013 at 1:13 PM, Martin Tomko  wrote:

>  Thanks Andrea,
> Our team is developing and patching geotools, I don’t think we have tried
> Geoserver yet – will se how much is involved to get this done.
>

Nice. Remember, it's always best to discuss the changes you want to make
first on the devel list, and code later,
than to code first, and then get asked to make modifications when you try
to contribute the code

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

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


Re: [Geoserver-users] JSON output including key = null values option?

2013-11-05 Thread Martin Tomko
Thanks Andrea,
Our team is developing and patching geotools, I don’t think we have tried 
Geoserver yet – will se how much is involved to get this done.

Thanks,
M.

From: Andrea Aime 
mailto:andrea.a...@geo-solutions.it>>
Date: Tuesday, 5 November 2013 11:09 pm
To: Martin Tomko mailto:tom...@unimelb.edu.au>>
Cc: 
"geoserver-users@lists.sourceforge.net"
 
mailto:geoserver-users@lists.sourceforge.net>>
Subject: Re: [Geoserver-users] JSON output including key = null values option?

On Tue, Nov 5, 2013 at 12:59 PM, Martin Tomko 
mailto:tom...@unimelb.edu.au>> wrote:
Dear Geoserver users/developers.
We are using the Geoserver JSON output for data interchange. I was wondering 
whether it is possible to configure geoserver in a manner that would enable the 
outputting of ALL the keys received from the schema. The current behaviour we 
are observing is the ( more common) JSON behaviour that null values are 
dropped. We are reconstructing FeatureCollections from the JSONs and missing 
keys ( reflecting null values in the DB) are causing us problems.

Yes, either a format_option could be exposed to control that 
(http://docs.geoserver.org/latest/en/user/services/wfs/vendor.html#format-options),
 or a server side setting.


What I am after is the exposure of the Geotools FeatureJSON parameter ( I 
assume that this is the lib used for serialising to JSON)  
http://docs.geotools.org/stable/javadocs/org/geotools/geojson/feature/FeatureJSON.html#isEncodeNullValues%28%29
isEncodeNulllValues to true….

Is this possible/exposable in the next release/

Even if you gave us a patch today with the changes and a test that proves it's 
working, it would be impossible
to have it by the next release, as new features have to stay a month in the 
development branch, and then need
a positive vote from the PSC to be backported.

So the full drill is, discuss the new option on geoserver-devel (checking for 
feebdack), code the
change, make a pull request for master, then after a month ask for a vote to 
backport.
Or find someone to do this on your behalf.

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

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


Re: [Geoserver-users] JSON output including key = null values option?

2013-11-05 Thread Andrea Aime
On Tue, Nov 5, 2013 at 12:59 PM, Martin Tomko  wrote:

>  Dear Geoserver users/developers.
> We are using the Geoserver JSON output for data interchange. I was
> wondering whether it is possible to configure geoserver in a manner that
> would enable the outputting of ALL the keys received from the schema. The
> current behaviour we are observing is the ( more common) JSON behaviour
> that null values are dropped. We are reconstructing FeatureCollections from
> the JSONs and missing keys ( reflecting null values in the DB) are causing
> us problems.
>

Yes, either a format_option could be exposed to control that (
http://docs.geoserver.org/latest/en/user/services/wfs/vendor.html#format-options),
or a server side setting.


>
>  What I am after is the exposure of the Geotools FeatureJSON parameter (
> I assume that this is the lib used for serialising to JSON)
> http://docs.geotools.org/stable/javadocs/org/geotools/geojson/feature/FeatureJSON.html#isEncodeNullValues%28%29
> isEncodeNulllValues to true….
>
>  Is this possible/exposable in the next release/
>

Even if you gave us a patch today with the changes and a test that proves
it's working, it would be impossible
to have it by the next release, as new features have to stay a month in the
development branch, and then need
a positive vote from the PSC to be backported.

So the full drill is, discuss the new option on geoserver-devel (checking
for feebdack), code the
change, make a pull request for master, then after a month ask for a vote
to backport.
Or find someone to do this on your behalf.

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

---
--
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] JSON output including key = null values option?

2013-11-05 Thread Martin Tomko
Dear Geoserver users/developers.
We are using the Geoserver JSON output for data interchange. I was wondering 
whether it is possible to configure geoserver in a manner that would enable the 
outputting of ALL the keys received from the schema. The current behaviour we 
are observing is the ( more common) JSON behaviour that null values are 
dropped. We are reconstructing FeatureCollections from the JSONs and missing 
keys ( reflecting null values in the DB) are causing us problems.

What I am after is the exposure of the Geotools FeatureJSON parameter ( I 
assume that this is the lib used for serialising to JSON)  
http://docs.geotools.org/stable/javadocs/org/geotools/geojson/feature/FeatureJSON.html#isEncodeNullValues%28%29
isEncodeNulllValues to true….

Is this possible/exposable in the next release/

Thanks
Martin

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


Re: [Geoserver-users] A very old and forgotten improvement

2013-11-05 Thread Rahkonen Jukka
Hi,

Application schema does a lot to that direction, I think 
http://docs.geoserver.org/latest/en/user/data/app-schema/index.html

-Jukka Rahkonen-

Rudy Commenge wrote:

Hi,
I have found this improvement idea : 
http://geoserver.org/display/GEOS/Advanced+GML
What about its development ?
Kind regards,
Rudy.

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


Re: [Geoserver-users] A very old and forgotten improvement

2013-11-05 Thread Andrea Aime
On Tue, Nov 5, 2013 at 11:12 AM, Rudy Commenge wrote:

> Hi,
>
> I have found this improvement idea :
> http://geoserver.org/display/GEOS/Advanced+GML
> What about its development ?
>

Currently complex features are taken care by the app-schema data store.
The idea of generating complex GML (not necessarily towards a specific
application schema)
with Hibernate Spatial based mapping has been on the table for a long time,
I believe it just missed
someone to sponsor its development.

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

---
--
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] A very old and forgotten improvement

2013-11-05 Thread Rudy Commenge
Hi,

I have found this improvement idea :
http://geoserver.org/display/GEOS/Advanced+GML
What about its development ?

Kind regards,

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


Re: [Geoserver-users] GeoServer 2.4.1 GDAL (JPEG2000) plugin problem

2013-11-05 Thread t.przysiwek
After this steps server starts correctly but nothing happened in
administration panel. None new formats appeared in "Add new store" section.
I suppose that it should look like this:
 
Screen from: http://docs.geoserver.org/stable/en/user/data/raster/gdal.html

Have you used  in your solution GDAL GeoServer extension file:
http://sourceforge.net/projects/geoserver/files/GeoServer%20Extensions/2.4.1/geoserver-2.4.1-gdal-plugin.zip
?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-2-4-1-GDAL-JPEG2000-plugin-problem-tp5086614p5087411.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] Image Mosaic JDBC single band raster losing data values

2013-11-05 Thread Christian Mueller
Can you send a diff file of your hack.

Christian


On Tue, Nov 5, 2013 at 8:28 AM, nroberts wrote:

> Hi Christian,
>
> In terms of rescaling, the following seems to work at least for 32 bit
> integer rasters:
>
>
> Now my problem is with startImage - it is created with underlying values of
> '0', so when I pan or zoom out in Layer Preview, I get a black border
> around
> my image (please see screenshots below)
>
> Layer Preview for my test raster:
> 
>
> Moved test raster a bit to the right top corner:
> 
>
> It looks as this happens because startImage is created with all '0' values
> in the underlying raster. So when we put tile image from PostGIS over the
> top of it, there is a band of '0' values left over (which shows up in
> black)
> as the tile image doesn't cover the entire start image.
>
> I am experimenting with creating startImage using nodata values from
> PostGIS
> and it seems to fix the black border problem. (hacked it for now to suit my
> raster, but I imagine that it may be a bit more complicated to implement
> for
> multi-band rasters)
>
> Does that sound as an acceptable approach?
>
> thanks
> Nataliya
>
>
> nroberts wrote
> > both 32 bit integer and float don't work for me.
> >
> > 32 bit integer produces solid black image due to alll values being turned
> > into '0' and 32 bit float throws ArrayOutOfBounds exception when
> > attempting to rescaleImage.
> >
> > cheers
> > Nataliya
> > Christian Mueller-3 wrote
> >> Yep, the rescale op is the problem.
> >>
> >> Do you have a 32 bit float or integer raster. As far as I can remember,
> >>  integer rasters should work fine, float is causing the problem. I also
> >> tried some different implemenations for the rescale operation, but none
> >> was
> >> working for float values.
> >>
> >> Cheers
> >> Christian
> >>
> >>
> >> On Mon, Nov 4, 2013 at 8:32 AM, nroberts <
>
> >> nataliya_roberts@.com
>
> >> >wrote:
> >>
> >>> Hi Christian,
> >>>
> >>> thank you for the suggestion!
> >>>
> >>> I have upgraded to 10.1 and the situation is a bit better, but I am
> >>> still
> >>> having a problem with my 32bit raster, albeit a slightly different one
> -
> >>> all
> >>> I can see now is a solid black image filling an entire image area in
> the
> >>> Layer Preview.
> >>>
> >>> It looks to me as rescaleImage still doesn't rescale single band 32 bit
> >>> raster image correctly: if I check image properties after rescale
> >>> operation,
> >>> the underlying raster contains all '0' values.
> >>>
> >>> Here is what I tried so far in an attempt to diagnose the problem:
> >>> * exported raster into a .tiff file and reimported it into GeoServer
> >>> using
> >>> GeoTiff plugin - it appears to work fine (i.e I can see expected
> >>> visualisation in the Layer Preview and featureinfo displays correct
> >>> information).
> >>> * commented out ImageComposerThread.rescaleImage - Layer Preview
> >>> displays
> >>> raster correctly (as long as I don't zoom out)
> >>> * tried to create GridCoverage2D using GridCoverageFactory.create()
> >>> method
> >>> that accepts MathTransform and using this transform to scale instead of
> >>> rescaling the image beforehand (this approach doesn't work with zoom
> out
> >>> either)
> >>>
> >>> Since I am no expert in image processing or coverages, I am not sure
> how
> >>> best to fix this.
> >>>
> >>> I may be doing something unconventional when creating my raster, so,
> >>> just
> >>> in
> >>> case, here is a list of sql commands I use to create test data:
> >>>
> >>>
> >>>
> >>> Thanks
> >>> Nat
> >>>
> >>> ( I am using geoserver 2.4.1 and geotools 10.1 version)
> >>>
> >>>
> >>>
> >>> Christian Mueller-3 wrote
> >>> > Some weeks ago, I did some major changes. Please switch to the
> lastest
> >>> > version or check out trunk from github.
> >>> >
> >>> > Christian
> >>> >
> >>> >
> >>> > On Thu, Oct 31, 2013 at 12:45 PM, Andrea Aime
> >>> > <
> >>>
> >>> > andrea.aime@
> >>>
> >>> > >wrote:
> >>> >
> >>> >> On Thu, Oct 31, 2013 at 12:34 PM, nroberts <
> >>>
> >>> > nataliya_roberts@.com
> >>>
> >>> > >wrote:
> >>> >>
> >>> >>> Hi Christian,
> >>> >>>
> >>> >>> I am using 9.5.
> >>> >>>
> >>> >>> I checked trunk svn a few weeks back (assuming this is a correct
> >>> >>> location
> >>> >>> for it:
> >>> >>>
> >>> >>>
> >>>
> http://svn.osgeo.org/geotools/trunk/modules/plugin/imagemosaic-jdbc/src/main/java/org/geotools/gce/imagemosaic/jdbc
> >>> >>> )
> >>> >>> and didn't spot any changes in the code in comparison to my my 9.5
> >>> >>> version.
> >>> >>> Should I try version 10+?
> >>> >>>
> >>> >>
> >>> >> Way off the mark I'm afraid, GeoTools has not been using svn for a
> >>> long
> >>> >> time now.
> >>> >> The sources are on github:
> >>> >> https://github.com/geotools/geotools
> >>> >>
> >>> >> Cheers
> >>> >> Andrea
> >>> >>
> >>> >> --
> >>> >> ==
> >>> >> Our support, Your Success! Vis

Re: [Geoserver-users] Geoserver 2.4.1 master password

2013-11-05 Thread Christian Mueller
Yep, the documentation is not up to date. Would be nice if you can open a
JIRA issue.

Go to the password page, you will find a button to export the master
password to a file of your choice.

Cheers
Christian


On Tue, Nov 5, 2013 at 9:33 AM,  wrote:

> Answering to myself. There is a dump master password option in
> Security/Passwords 'Master password forgotten ?'
>
> I was terrified when noticing that the passwword was 'geoserver'! I was
> thinking whether I would bother change it at all, because previous
> versions had unique and quite complicated root passwords.
>
> - mika -
>
>
> m...@digikartta.net kirjoitti 2013-11-05 10:06:
> > Hi,
> > I noticed that the manual is a little behind the real world when
> > dealing with the master password setting. There seems not to be any
> > masterpw.info anymore. So where can I get the existing master
> > password
> > in order to change it as the starting page suggests?
> >
> > - mika -
> >
> >
> >
> --
> > 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
>
>
> --
> 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
>



-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
--
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


Re: [Geoserver-users] Geoserver 2.4.1 master password

2013-11-05 Thread mika
Answering to myself. There is a dump master password option in 
Security/Passwords 'Master password forgotten ?'

I was terrified when noticing that the passwword was 'geoserver'! I was 
thinking whether I would bother change it at all, because previous 
versions had unique and quite complicated root passwords.

- mika -


m...@digikartta.net kirjoitti 2013-11-05 10:06:
> Hi,
> I noticed that the manual is a little behind the real world when
> dealing with the master password setting. There seems not to be any
> masterpw.info anymore. So where can I get the existing master 
> password
> in order to change it as the starting page suggests?
>
> - mika -
>
> 
> --
> 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

--
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] Geoserver 2.4.1 master password

2013-11-05 Thread mika
Hi,
I noticed that the manual is a little behind the real world when 
dealing with the master password setting. There seems not to be any 
masterpw.info anymore. So where can I get the existing master password 
in order to change it as the starting page suggests?

- mika -

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