Re: [Geoserver-users] Points drawing in wrong location when bbox crosses dateline

2012-07-03 Thread Joshua M. Thompson
> As far as I can tell lines and polygons don't have this issue, in
> either shapefile or Oracle. It seems to be confined to points...or
> more likely to PointSymbolizers.

After I sent this it occurs to me I didn't test a polygon data source
with a point renderer. If I take a known working polygon data set and
switch to the default 'point' renderer then I get the broken behavior.
Polygons east of -180 render points at the polygon centerpoints. West
of -180 they're all in the upper left corner of the image. So it
certainly looks like a PointSymbolizer error.

--
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] Points drawing in wrong location when bbox crosses dateline

2012-07-03 Thread Joshua M. Thompson
On Tue, Jul 3, 2012 at 3:53 PM, Andrea Aime
 wrote:
> On Tue, Jul 3, 2012 at 7:50 PM, Joshua M. Thompson
>  wrote:
>>
>> I'm seeing some interesting behavior in GeoServer 2.1.4. I've got a
>> simple point later that has about 2,900 points that represent world
>> cities, stored in an Oracle Spatial table. I put a simple style on it
>> to draw red dots with city name labels. The front end webapp is an
>> OpenLayers 2.12 application.
>>
>> If I center my map around the dateline this is what I see:
>>
>> http://imgur.com/JaoVS
>>
>> In this image OL requested a BBOX of
>> -257.87109375,-20.478515625,-71.19140625,79.189453125. Note that
>> labels appear to be drawing in the correct locations but the points
>> for cities in the Asia-Pacific area (the ones beyond -180 longitude)
>> are all clustered in the upper-left corner of the image.
>>
>> Has anyone seen this behavior before? I want to make sure this isn't a
>> known issue or a configuration problem before I submit a ticket.
>
>
> I've seen this ages ago and the issue was fixed, I'm not aware of any
> recent changes that might have made it come back in 2.1.4
>
> Is this data source specific? Or something you can reproduce using
> a shapefile too?

I loaded up another dataset that I also had available as a shapefile,
so that I could compare the same data in both data sources. I compared
both by using the OL layer preview using the bbox and height of my
original broken image.

WIth the data in shapeflie format, nothing crosses the dateline --
points or labels. It behaves pretty much as things did before the
advanced projection handling support was added.

With the same data in the Oracle table I get the same behavior as
before: the points west of -180 lon are all clustered in the upper
left corner, but labels are in the correct spot. In addition, if I
click near the label, where a point *should* be, then the resulting
GetFeatureInfo query returns the correct result. So Geoserver
certainly seems to be pulling the correct features from the DB, and it
seems to know  where on the image they should be placed. They just
seem to render in the wrong spot.

As far as I can tell lines and polygons don't have this issue, in
either shapefile or Oracle. It seems to be confined to points...or
more likely to PointSymbolizers.

--
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] Elevation WMS

2012-07-03 Thread Andrea Aime
On Mon, Jul 2, 2012 at 3:11 PM, djv  wrote:

> Hi Andrea,
>   Can you provide more details on how to get GeoServer to deliver a 16bit
> GeoTIFF?  I've tried using both WMS and WCS services, but I keep getting an
> 8 bit format returned from GeoServer.  My data store is 16 bit elevation
> data.  Can you help with this?  FYI, we'd really like to use GeoServer, but
> we really need to get the 16 bit data out in order to continue working with
> GeoServer.
>

Returning raw 16 bits out of WMS is not something a WMS is supposed to do,
but WCS should work, if it does not please open a bug report on
jira.codehaus.org
including the origin data you used and the WCS request that failed to
deliver
a 16 bit TIFF file

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] Geoserver REST API: re-publishing a style does not work..problem of cache?

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 2:45 PM, Emmanuel Blondel <
emmanuel.blond...@gmail.com> wrote:

>  Dear all,
>
> I am using the Geoserver REST API, to publish layers and styles.
> I performed tests to publish one style using POST, and then to remove it.
>
> Then, if i tried to publish again the style with the same name, I get an
> error: Method failed: HTTP/1.1 403
> This occurs while the style was removed from Geoserver, but it seems
> Geoserver considers that the style does still exist. Is it a problem of
> cache or something like that?
>
> I had a look to reload & reset functionality, but their roles are no clear
> to me, and if one of them would be helpful in my case or not.
> Could somebody give me advice on this and how to publish again a style
> that was previously removed?
>

The style removing does not actually delete the .sld file, that's why you
cannot upload it
again. You should add &purge=true to the request to have the sld file be
deleted as well.

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] Points drawing in wrong location when bbox crosses dateline

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 7:50 PM, Joshua M. Thompson <
joshua.thomp...@gmail.com> wrote:

> I'm seeing some interesting behavior in GeoServer 2.1.4. I've got a
> simple point later that has about 2,900 points that represent world
> cities, stored in an Oracle Spatial table. I put a simple style on it
> to draw red dots with city name labels. The front end webapp is an
> OpenLayers 2.12 application.
>
> If I center my map around the dateline this is what I see:
>
> http://imgur.com/JaoVS
>
> In this image OL requested a BBOX of
> -257.87109375,-20.478515625,-71.19140625,79.189453125. Note that
> labels appear to be drawing in the correct locations but the points
> for cities in the Asia-Pacific area (the ones beyond -180 longitude)
> are all clustered in the upper-left corner of the image.
>
> Has anyone seen this behavior before? I want to make sure this isn't a
> known issue or a configuration problem before I submit a ticket.
>

I've seen this ages ago and the issue was fixed, I'm not aware of any
recent changes that might have made it come back in 2.1.4

Is this data source specific? Or something you can reproduce using
a shapefile too?

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] Native JAI not working

2012-07-03 Thread Michael Smith
Ben and Andrea,
I finally got it to work today. I ended up adding the JRE home, bin, and 
lib\ext locations to my PATH statement, probably overkill but it was late 
enough I just wanted to put all the key directories in the PATH.  What really 
seemed to be the key, though, was entering the locations of the three native 
JAI JAR files to the 'Java Classpath' line (Java tab) in the Tomcat properties 
manager.

Ben, I am using Windows Server 2003 (32 bit) and Tomcat 6.0.35 so I am not sure 
if it is directly applicable to your setup, but wanted to pass on what worked 
for me. Thank you for offering to help!

Andrea, thank you for the troubleshooting help. Once I get my development 
server back I will redo the process to see the minimal steps required to get 
GeoServer on Windows 2003 to recognize the native JAI and will pass that on if 
you are interested. One might only have to update the classpath in the Tomcat 
properties manager, and nothing else, but I do not know as I did not go back 
and try that. Since the setup I need right now works, I am going to leave it 
alone.


- Michael



--
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] ERROR 404

2012-07-03 Thread Rui Pedro Henriques
Hi, I had the same problem and fixed it by installing the JAI. 

In my case:
cd /usr/lib/jvm/java-6-openjdk
sudo wget
http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64-jdk.bin
sudo chmod 755 jai-1_1_3-lib-linux-amd64-jdk.bin
sudo ./jai-1_1_3-lib-linux-amd64-jdk.bin

and it was working! :)

BR,
Rui Pedro Henriques.



--
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] Communication between Geoservers

2012-07-03 Thread Martin Davis
http://docs.geoserver.org/latest/en/user/data/cascaded/index.html

On Tue, Jul 3, 2012 at 10:53 AM, Smaran Harihar wrote:

> Hi Guys,
>
> I wanted to know if it was possible to communicate between one or more
> Geoservers? I know there is Geonetwork which helps in communicating between
> Geoservers, but can Geoservers communicate directly?
>
> My communicate I mean, is it possible for another Geoserver to connect to
> a Geoserver and pull that particular spatial data or shapefile? If it is
> possible, how is it done?
>
> --
> Thanks & Regards
> Smaran Harihar
>
>
>
> --
> 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
>
>


-- 
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
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] Communication between Geoservers

2012-07-03 Thread Smaran Harihar
Hi Guys,

I wanted to know if it was possible to communicate between one or more
Geoservers? I know there is Geonetwork which helps in communicating between
Geoservers, but can Geoservers communicate directly?

My communicate I mean, is it possible for another Geoserver to connect to a
Geoserver and pull that particular spatial data or shapefile? If it is
possible, how is it done?

-- 
Thanks & Regards
Smaran Harihar
--
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] Points drawing in wrong location when bbox crosses dateline

2012-07-03 Thread Joshua M. Thompson
I'm seeing some interesting behavior in GeoServer 2.1.4. I've got a
simple point later that has about 2,900 points that represent world
cities, stored in an Oracle Spatial table. I put a simple style on it
to draw red dots with city name labels. The front end webapp is an
OpenLayers 2.12 application.

If I center my map around the dateline this is what I see:

http://imgur.com/JaoVS

In this image OL requested a BBOX of
-257.87109375,-20.478515625,-71.19140625,79.189453125. Note that
labels appear to be drawing in the correct locations but the points
for cities in the Asia-Pacific area (the ones beyond -180 longitude)
are all clustered in the upper-left corner of the image.

Has anyone seen this behavior before? I want to make sure this isn't a
known issue or a configuration problem before I submit a ticket.

--
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] enlarge geotif bounding box

2012-07-03 Thread Roope Tervo
Hello

I have an image mosaic plugin serving geotifs from small area. Is it 
possible to enlarge original images' bounding box and color everything 
outside of original geotifs as 'a missing mask' by Geoserver? I tried 
'background value' and SLD colormap combination without success.

best regards
Roope




--
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] Native JAI not working

2012-07-03 Thread Benjamin Mearns
Michael,

I'm hoping to reinstall on a VM and document my install soon.

Ben

On Monday, July 2, 2012, Michael Smith  wrote:
> The native JAI Windows installers install the files to
JAVA_HOME\jre\lib\ext
>
> To try and get the Windows installers output recognized I tried the
following:
> 1- set symlinks to the files installed in JAVA_HOME\jre\lib\ext in
JAVA_HOME\jre\lib\i386
> 2 - set symlinks to the files installed in JAVA_HOME\jre\lib\ext in
tomcat\webapps\geoserver\WEB-INF\lib (thought I would try this again and
leave the 1.1.3 off the end of the file names to see if the name was what
caused the server status to read false for native JAI)
>
> Neither option worked. I also added the JRE location within the JDK to
the system PATH statement.
>
> When GeoServer is deployed as a WAR through Apache Tomcat it is not
installed as its own service, so there is no wrapper.conf generated that
can be edited. To make sure it was not in another location I did a search
on the entire drive.
>
>
> - Michael
>
>
>
>
>
 Andrea Aime  6/29/2012 12:11 PM >>>
> Hmm.. native JAI should be installed in $JAVA_HOME/jre/lib/i386 on such
> platform. Aren't you using the windows installers? They
> do place it in the right position.
> Hum... and then there is the service wrapper, maybe that one needs some
> configuration as well, see here:
>
http://geo-solutions.blogspot.it/2010/02/fix-gdal-extension-not-working-with.html
>
> Cheers
> Andrea
>
>
> --
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:  +39 0584 962313
> mob:+39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
>
>
--
> 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
>

-- 
Ben Mearns
Lead Geospatial Information Consultant
IT-Client Support & Services
University of Delaware
mea...@udel.edu : 302.831.1978
--
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] How to configure GeoServer 2.1.4 to use OSMM (Ordinary Survey Mastermap)?

2012-07-03 Thread Andy Berry
See my post [Geoserver-users] Geoserver upgrade
I think its because of Windows Server 2008
Should work with Geoserver 2.2

-Original Message-
From: sjjscc [mailto:shang@csduk.com] 
Sent: 03 July 2012 09:14
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] How to configure GeoServer 2.1.4 to use OSMM 
(Ordinary Survey Mastermap)?

I am new to GeoServer.

Can anyone provide how to configure GeoServer 2.1.4 with OSMM?

We have setup the GeoServer v2.1.4 on a Windows Server 2008 R2 server. Our
OSMM is available on our Oracle Spatial server.

Our GeoServer can display the USA Population layer:
• Click Layer Preview on the left hand side
• Choose topp:states – USA Population
• Click OpenLayers towards the right hand side.
• It will open a new window with the USA Population map

By the way, we have installed the following components on the server:
• Java Runtime Environment 6 Update 32
• Java Advanced Imaging 1.1.3
• GeoServer 2.1.4
• geoserver-2.1.4-oracle-plugin

We have setup an *Oracle NG* type store and we have successful connection to
our OSMM. When adding a new store, it displays
New data source
Choose the type of data source you wish to configure

Vector Data Sources
 Directory of spatial files (shapefiles) - Takes a directory of shapefiles
and exposes it as a data store 
 *Oracle NG* - Oracle Database 
 Oracle NG (JNDI) - Oracle Database (JNDI) 
 Oracle NG (OCI) - Oracle Database (OCI) 
 PostGIS - PostGIS Database 
 PostGIS (JNDI) - PostGIS Database (JNDI) 
 Properties - Allows access to Java Property files containing Feature
information 
 Shapefile - ESRI(tm) Shapefiles (*.shp) 
 ...


When we try to publish a layer from the store, we can see 33 table names
which are from our OSMM. I have selected a layer (or OSMM table) called
"ROADS" and publish it; I have configured the page:
• Declare SRS as EPSG:27700 
• Compute from data
• Compute from native bounds

The layer was not saved when clicking the *Save *button. 

*EPSG:27700* is recognised as *EPSG:OSGB 1936 / British National Grid...* 
by the GeoServer.


Thanks. 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-configure-GeoServer-2-1-4-to-use-OSMM-Ordinary-Survey-Mastermap-tp4985560.html
Sent from the GeoServer - User mailing list archive at Nabble.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

Take a look - you can pay, report, request, have your say and find information 
online at www.wrexham.gov.uk.  

Save paper - think before you print!

This e-mail message and any attachments are intended solely for the individual 
or organisation to whom it is addressed. For full conditions in relation to 
content and use of this e-mail message and any attachments, please refer to 
http://www.wrexham.gov.uk/top_navigation/disclaimers.htm.

Mae'r neges e-bost hon ac unrhyw atodiadau wedi eu bwriadu ar gyfer yr unigolyn 
neu’r sefydliad y’i cyfeirir atynt yn unig.
Am yr amodau llawn ynglyn a chynnwys a defnyddio’r neges e-bost hon ac unrhyw 
atodiadau, cyfeiriwch at   
http://www.wrecsam.gov.uk/top_navigation/disclaimersw.htm.
--
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] Geoserver REST API: re-publishing a style does not work..problem of cache?

2012-07-03 Thread Emmanuel Blondel

Dear all,

I am using the Geoserver REST API, to publish layers and styles.
I performed tests to publish one style using POST, and then to remove it.

Then, if i tried to publish again the style with the same name, I get an 
error: Method failed: HTTP/1.1 403
This occurs while the style was removed from Geoserver, but it seems 
Geoserver considers that the style does still exist. Is it a problem of 
cache or something like that?


I had a look to reload & reset functionality, but their roles are no 
clear to me, and if one of them would be helpful in my case or not.
Could somebody give me advice on this and how to publish again a style 
that was previously removed?


Thanks in advance

Emmanuel

--
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] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 2:16 PM, Luca Morandini  wrote:

> On 07/03/2012 08:19 PM, Andrea Aime wrote:
> > On Tue, Jul 3, 2012 at 11:16 AM, Luca Morandini  > > wrote:
> >
> > I searched Jira for <<"SQL Server" && "unknown CRS">> , but fond
> none.
> >
> >
> > I believe this is the one: https://jira.codehaus.org/browse/GEOS-5077
>
> Any suggestions on how to solve this ?
>

Modify this class:
https://github.com/geotools/geotools/blob/master/modules/plugin/jdbc/jdbc-sqlserver/src/main/java/org/geotools/data/sqlserver/SQLServerDialect.java

and then add a test, and double check the modification did not break
any of the other tests

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Luca Morandini
On 07/03/2012 08:19 PM, Andrea Aime wrote:
> On Tue, Jul 3, 2012 at 11:16 AM, Luca Morandini  > wrote:
>
> I searched Jira for <<"SQL Server" && "unknown CRS">> , but fond none.
>
>
> I believe this is the one: https://jira.codehaus.org/browse/GEOS-5077

Any suggestions on how to solve this ?

Regards,

Luca Morandini
Data Architect - AURIN project
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini




--
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] Geoserver Installation Mac

2012-07-03 Thread Russ
Should be able to do

nohup start.sh

Not at my Mac so can't try it

Russ

---


On 3 Jul 2012, at 12:29, hard_soluti...@lavabit.com wrote:

> Dear all,
> 
> i have an question to geoserver_2.1.3 on a Mac Snowleopard Server.
> 
> How must I start the Geoserver, that it isn't used the command window. I
> started with the start.sh file but when i loged out from the server the
> geoserver will be shout down.
> 
> How can i start it, that geoserver doesnt need a command window
> 
> Thanks for help
> 
> Harald
> 
> 
> 
> --
> 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

--
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] Geoserver Installation Mac

2012-07-03 Thread hard_solutions
Dear all,

i have an question to geoserver_2.1.3 on a Mac Snowleopard Server.

How must I start the Geoserver, that it isn't used the command window. I
started with the start.sh file but when i loged out from the server the
geoserver will be shout down.

How can i start it, that geoserver doesnt need a command window

Thanks for help

Harald



--
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] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 11:16 AM, Luca Morandini  wrote:

> I searched Jira for <<"SQL Server" && "unknown CRS">> , but fond none.
>

I believe this is the one: https://jira.codehaus.org/browse/GEOS-5077

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Luca Morandini
On 07/03/2012 06:42 PM, Andrea Aime wrote:
> On Tue, Jul 3, 2012 at 10:09 AM, Luca Morandini  > wrote:
>
> This issue pops up from time to time, this time it happened to me...
>
> - GeoServer 2.2beta2 (and related SQL Server plugin) on Ubuntu
> - SQL Server 2008 R2 on Windows 7
> - Polygos data loaded from shapefile with OGR2OGR
> - SRID defined in the OGR2OGR command lne
> - Spatial index created with correct bounds
>
> ...but still SRS and BBOX are empty, and when SRS is set by hand and then 
> "Compute
> from data" is clicked:
> Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: No code 
> "EPSG:0"
> from authority "European Petroleum Survey Group" found for object of type
> "IdentifiedObject".
>
>
> Ah right, SQL Server uses 0 instead of -1 for "unkown CRS". I believe there 
> was a
> bug report for this one already, if not a fix already?  Not sure

I searched Jira for <<"SQL Server" && "unknown CRS">> , but fond none.

Regards,

Luca Morandini
Data Architect - AURIN project
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini




--
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] Can wms return image in 16bit tiff?

2012-07-03 Thread Simone Giannecchini
Here you go the best documentation available for an open source project:
http://svn.codehaus.org/geoserver/trunk/src/community/dds/

code :)

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

---


On Mon, Jul 2, 2012 at 2:14 PM, djv  wrote:
> Can you provide more details on how to write a new output format for
> GeoServer to return a 16 bit GeoTIFF.  Is there any documentation or
> tutorial available on how to do this?
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Can-wms-return-image-in-16bit-tiff-tp4569621p4985326.html
> Sent from the GeoServer - User mailing list archive at Nabble.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

--
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] Can wms return image in 16bit tiff?

2012-07-03 Thread djv
Can you provide more details on how to write a new output format for
GeoServer to return a 16 bit GeoTIFF.  Is there any documentation or
tutorial available on how to do this?

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Can-wms-return-image-in-16bit-tiff-tp4569621p4985326.html
Sent from the GeoServer - User mailing list archive at Nabble.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


Re: [Geoserver-users] Elevation WMS

2012-07-03 Thread djv
Hi Andrea,
  Can you provide more details on how to get GeoServer to deliver a 16bit
GeoTIFF?  I've tried using both WMS and WCS services, but I keep getting an
8 bit format returned from GeoServer.  My data store is 16 bit elevation
data.  Can you help with this?  FYI, we'd really like to use GeoServer, but
we really need to get the 16 bit data out in order to continue working with
GeoServer.
  Regards,
  Debbie

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Elevation-WMS-tp4640677p4985339.html
Sent from the GeoServer - User mailing list archive at Nabble.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] proxy extension for Geoserver 2.1.3

2012-07-03 Thread Fabien Maison
Hi all !
Any one know if we can find proxy extension for Geoserver 2.1.3 (or 2.1.4)..???
Can find only one for 2.1.1...

Thank's for your help

fbm
--
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] Trimming an attribute table .CSV output's "extra fields"

2012-07-03 Thread Julius Sempio
Ah, yes. That clears up a lot of issues.

Thank you for the clarifications. We'll try to check out the GET and POST
requests and see what we can do (and possibly share what we find out).

Returning the cheers,

Julius

On Mon, Jul 2, 2012 at 6:08 PM, Andrea Aime wrote:

> On Wed, Jun 27, 2012 at 11:27 AM, Julius Sempio 
> wrote:
>
>> The problem is that the .csv file is also including "the_geom" as one of
>> its fields. If we make use of the PROPERTYNAME argument to specify the
>> fields we like to include in the table, we would have to specify each and
>> every field name excluding that of "the_geom".
>>
>> Any ideas on how to specify the ones you would NOT want to include in the
>> output file?
>>
>
> The WFS protocol does not allow for excluding properties, only to list the
> ones you want.
> A property exclusion list could be coded as a vendor extension though (not
> too hard for
> the GET requests, harder for the POST ones).
>
> Cheers
> Andrea
>
> --
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:  +39 0584 962313
> mob:+39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
>
--
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] How to configure GeoServer 2.1.4 to use OSMM (Ordinary Survey Mastermap)?

2012-07-03 Thread sjjscc
I am new to GeoServer.

Can anyone provide how to configure GeoServer 2.1.4 with OSMM?

We have setup the GeoServer v2.1.4 on a Windows Server 2008 R2 server. Our
OSMM is available on our Oracle Spatial server.

Our GeoServer can display the USA Population layer:
• Click Layer Preview on the left hand side
• Choose topp:states – USA Population
• Click OpenLayers towards the right hand side.
• It will open a new window with the USA Population map

By the way, we have installed the following components on the server:
• Java Runtime Environment 6 Update 32
• Java Advanced Imaging 1.1.3
• GeoServer 2.1.4
• geoserver-2.1.4-oracle-plugin

We have setup an *Oracle NG* type store and we have successful connection to
our OSMM. When adding a new store, it displays
New data source
Choose the type of data source you wish to configure

Vector Data Sources
 Directory of spatial files (shapefiles) - Takes a directory of shapefiles
and exposes it as a data store 
 *Oracle NG* - Oracle Database 
 Oracle NG (JNDI) - Oracle Database (JNDI) 
 Oracle NG (OCI) - Oracle Database (OCI) 
 PostGIS - PostGIS Database 
 PostGIS (JNDI) - PostGIS Database (JNDI) 
 Properties - Allows access to Java Property files containing Feature
information 
 Shapefile - ESRI(tm) Shapefiles (*.shp) 
 ...


When we try to publish a layer from the store, we can see 33 table names
which are from our OSMM. I have selected a layer (or OSMM table) called
"ROADS" and publish it; I have configured the page:
• Declare SRS as EPSG:27700 
• Compute from data
• Compute from native bounds

The layer was not saved when clicking the *Save *button. 

*EPSG:27700* is recognised as *EPSG:OSGB 1936 / British National Grid...* 
by the GeoServer.


Thanks. 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-configure-GeoServer-2-1-4-to-use-OSMM-Ordinary-Survey-Mastermap-tp4985560.html
Sent from the GeoServer - User mailing list archive at Nabble.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


Re: [Geoserver-users] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 10:09 AM, Luca Morandini  wrote:

> This issue pops up from time to time, this time it happened to me...
>
> - GeoServer 2.2beta2 (and related SQL Server plugin) on Ubuntu
> - SQL Server 2008 R2 on Windows 7
> - Polygos data loaded from shapefile with OGR2OGR
> - SRID defined in the OGR2OGR command lne
> - Spatial index created with correct bounds
>
> ...but still SRS and BBOX are empty, and when SRS is set by hand and then
> "Compute
> from data" is clicked:
> Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: No code
> "EPSG:0"
> from authority "European Petroleum Survey Group" found for object of type
> "IdentifiedObject".
>

Ah right, SQL Server uses 0 instead of -1 for "unkown CRS". I believe there
was a
bug report for this one already, if not a fix already?  Not sure

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] GeoServer 2.2beta2 cannot compute BBOX on SQL Server data

2012-07-03 Thread Luca Morandini
This issue pops up from time to time, this time it happened to me...

- GeoServer 2.2beta2 (and related SQL Server plugin) on Ubuntu
- SQL Server 2008 R2 on Windows 7
- Polygos data loaded from shapefile with OGR2OGR
- SRID defined in the OGR2OGR command lne
- Spatial index created with correct bounds

...but still SRS and BBOX are empty, and when SRS is set by hand and then 
"Compute 
from data" is clicked:
java.lang.RuntimeException: java.io.IOException: Error occured calculating 
bounds
at 
org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:508)
at 
org.geotools.jdbc.JDBCFeatureStore.getBoundsInternal(JDBCFeatureStore.java:189)
at 
org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:426)
at
...
org.geotools.data.sqlserver.SQLServerDialect.decodeGeometryEnvelope(SQLServerDialect.java:272)
at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1159)
... 94 more
Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: No code 
"EPSG:0" 
from authority "European Petroleum Survey Group" found for object of type 
"IdentifiedObject".
at 
org.geotools.referencing.factory.AbstractAuthorityFactory.noSuchAuthorityCode(AbstractAuthorityFactory.java:951)
at 
org.geotools.referencing.factory.PropertyAuthorityFactory.getWKT(PropertyAuthorityFactory.java:316)
at 
org.geotools.referencing.factory.PropertyAuthorityFactory.createCoordinateReferenceSystem(PropertyAuthorityFactory.java:390)
at 
org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateReferenceSystem(BufferedAuthorityFactory.java:783)
at 
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:800)
at 
org.geotools.referencing.factory.FallbackAuthorityFactory.createCoordinateReferenceSystem(FallbackAuthorityFactory.java:640)
at 
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:800)
at 
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:731)
at 
org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179)
at org.geotools.referencing.CRS.decode(CRS.java:489)
at org.geotools.referencing.CRS.decode(CRS.java:417)
at 
org.geotools.data.sqlserver.SQLServerDialect.decodeGeometry(SQLServerDialect.java:245)
... 96 more

Regards,

Luca Morandini
Data Architect - AURIN project
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini



--
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] Need help to get GeoServer to send GeoTIFF INT16 maps (rather than 8 bit)

2012-07-03 Thread Simone Giannecchini
Dear Deborah,
the situation is a follows:

- Via WMS, unless you write your own outputformat geotiff you will
always get 8 bits as the raster goes through the rendering process
which does this transformation anyway
- Via WCS you might get the geotiff in 16 bits providing the input is
in 16 bits.

Alternative if you want to get WMS to return 16 bits geotiff is to do
(as in develop yourself) something similar to this DDS extension
http://docs.geoserver.org/latest/en/user/community/dds/index.html.

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

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

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

---


On Fri, Jun 29, 2012 at 6:22 PM, Pierce, Deborah Jean Violette
 wrote:
> Hi All,
>   We have some DTED elevation data (.dt files).  We need to get the data into 
> GeoServer, and have GeoServer deliver this to our software as a INT16 
> GeoTiff.  I've tried to do this various ways (importing the data as .dt data 
> as is into GeoServer, also tried converting .dt data into GeoTIFF file and 
> importing that into GeoServer).  Unfortunately, every map GeoServer WMS sends 
> out is 8bit GeoTIFF, but we need elevation data as INT16.  Specifically, the  
> GeoTIFF tag values I'd like to have in the map delivered by GeoServer are:
>
> Tag PHOTOMETRIC_INTERPRETATION
>   GeoServer delivers a GeoTIFF tag value of 2 
> (RGB) - I'd prefer a value of 1 (BlackIsZero)
>Tag RESOLUTION_UNIT
>   GeoServer delivers a GeoTIFF tag value of 1 (no 
> absolute unit of measurement) - I'd prefer a value of 2 (unit of measurement 
> "inch")
>Tag BITS_PER_SAMPLE
> GeoServer delivers a GeoTIFF tag value of 8 (count=4)  - I 
> need a value of 16 (count=1) to represent INT16
>Tag SAMPLES_PER_PIXEL
> GeoServer delivers a GeoTIFF tag value of 4 - I'd prefer a 
> value of 1
>Tag SAMPLE_FORMAT
> GeoServer doesn't include this tag - I'd prefer it to be 
> included and have a value of 2 (two's complement signed integer data)
>
> FYI, the GetMapRequest I'm sending to GeoServer is:
>
> DEBUG2 
> wms_get_map_request_url=http://localhost:8090/geoserver/ows?SERVICE=WMS&LAYERS=mxr%3Adted2_w117_n35&FORMAT=image%2Fgeotiff&HEIGHT=1300&TRANSPARENT=TRUE&BGCOLOR=0xFF&REQUEST=GetMap&WIDTH=1590&BBOX=117.518473,35.337083,-117.076805,35.698195&STYLES=&VERSION=1.3.0
>
> I setup this request using GeoTools version 8.  Can anybody provide 
> information on how to get this to work?  Any help would be very much 
> appreciated!
>
> I'm using the following setup:
>
> GeoServer 2.2 -beta1
> - Build Information
> Version2.2-beta1
> Subversion Revision16907
> Build Date05-Apr-2012 20:21
> GeoTools Version8-SNAPSHOT (rev 38659)
> Windows 7 (64bit)
> Java 1.6
> I'm using native JAI and JAI ImageIO 1.1 packages for processing the GeoTiff 
> delivered from GeoServer
> The web container is the default (Jetty 6?)
>
> Regards,
> Debbie Pierce
> MITRE Corporation
>
>
>
> --
> 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

--
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] cannot add features with WFS-T

2012-07-03 Thread Harold-Jeffrey Ship

Hi Andrea

Thanks for your answer. I do indeed see a thread deadlock in the thread
dump! In fact, my thread dump (attached) has the exact same deadlock as the
one in the  bug report you mention below. The only difference is I am using
GeoServer 2.1.4.

I have noted this in the bug report.


(See attached file: geoserver.stack)


From:   Andrea Aime 
To: Harold-Jeffrey Ship/Haifa/IBM@IBMIL,
Cc: David Winslow ,
geoserver-users@lists.sourceforge.net
Date:   02/07/2012 05:58 PM
Subject:Re: [Geoserver-users] cannot add features with WFS-T
Sent by:andrea.a...@gmail.com



On Mon, Jul 2, 2012 at 4:35 PM, Harold-Jeffrey Ship 
wrote:
  Hi David

  I tried your suggestion of changing the order, but it makes no
  difference:
  the Feature is not saved and the GeoServer stops responding to all WFS
  calls afterwards.

It probably means it's locked trying to get some XML schema cited in
the WFS request, and failing to do so (there is probably a very long
network timeout in place as well).

This one might be relevant:

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

Cheers
Andrea

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

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

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


geoserver.stack
Description: Binary data
--
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