[Geoserver-users] Modifying WCS GetCoverage GML output

2020-08-13 Thread dirk.thalheim
Dear list,

is it possible in Geoserver to extend the data model/output format of a GML WCS 
GetCoverage response with additional properties and metadata? I'm currently 
trying to implement an INSPIRE download service for elevation data (digital 
terrain model). INSPIRE mandates an ElevationGridCoverage data model , which is 
an extension of the RectifiedGridCoverage. I'm aware, that INSPIRE has some 
compatibility issues concerning the WCS specification. But I'm curious if we 
can use Geoserver to provide the required additional information. 

I'm using Geoserver 2.17.1 and I've tried to add additional fields in the shape 
index of the Image Mosaic. When accessing the coverages via REST interface I 
can see the additional field in the response. But this doesn't work for the GML 
output in a WCS GetCoverage response. 

Kind regards,

Dirk Thalheim


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] REST API on Windows not recognising data directory

2020-08-13 Thread Russell Grew
For reference this API example, with the data path internal to Geoserver 
doesn't work in Ubuntu either.

curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain"
  -d "file:///data/shapefiles/rivers/rivers.shp"
  
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/rivers/external.shp

I ended up using the Importer extension. It sounds like this is the way forward.

I would be happy to assist by amending the documentation if I am able to 
understand how the API should behave.

Cheers.


From: Russell Grew
Sent: Thursday, 30 July 2020 9:29 AM
To: 'geoserver-users@lists.sourceforge.net' 

Subject: REST API on Windows not recognising data directory

Hi,

I am running Geoserver 2.17.1 on Windows 10 with OpenJDK 11 and exploring the 
REST API for the first time.

Following 
https://docs.geoserver.org/stable/en/user/rest/stores.html#adding-an-existing-shapefile
 I am trying to add a data store for files already on the server. A 
GEOSERVER_DATA_DIR environment variable is defined, pointing to 
d:\geoserver_data_dir.

This works

curl -v -u admin:geoserver -XPUT -d 
"file:d:\geoserver_data_dir\data\russell\groundwater_divide.shp" 
"http://localhost:8080/geoserver/rest/workspaces/russell/datastores/test/external.shp;

The below, and any variation on it that I can think of (file://, 
file:///, backslashes in the path, running in bash) does not work.

curl -v -u admin:geoserver -XPUT -d "file:data/russell/groundwater_divide.shp" 
"http://localhost:8080/geoserver/rest/workspaces/russell/datastores/bar/external.shp;

When I inspect shapefile stores in the UI the locations look like the example 
"file:data/shapefiles/states.shp" or similar.

The Geoserver log shows

2020-07-30 09:04:11,705 ERROR [geoserver.rest] - Failed to locate the input 
file file:data/russell/groundwater_divide.shp
org.geoserver.rest.RestException 400 BAD_REQUEST: Failed to locate the input 
file file:data/russell/groundwater_divide.shp

I attach the curl output and also the logging with geoserver developer details.

Any advice is appreciated. I have the same problem with Tomcat, or the platform 
independent binary.

Thanks,

Russell.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] [EXTERNAL] Vector CSS Color Map

2020-08-13 Thread Snider, Chris
An example of how to do random colors to a Polygon


This will generate a new random color each time the tile is generated, be aware


Ref:

https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg06557.html


 
   
 
   '#'00
   
 
 100
   
 
   
   0.7
 

  #00
  1

  

Chris


From: Vera Green 
Sent: Thursday, August 13, 2020 9:41 AM
To: GeoServer Mailing List List
Subject: [EXTERNAL] [Geoserver-users] Vector CSS Color Map

Hello,
We have scoured the styling documentation looking for a way to assign a random 
color map by type. In other words we have a layer which we want to style on a 
field, however we do not want to define each field value individually, we want 
to say:
Using this field, assign a random color to each unique field value.
Is this possible in GeoServer CSS or SLD?

Thanks much,
Vera

NOTICE: This email message and all attachments transmitted with it may contain 
privileged and confidential information, and information that is protected by, 
and proprietary to, Parsons Corporation, and is intended solely for the use of 
the addressee for the specific purpose set forth in this communication. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any reading, dissemination, distribution, copying, or other use of this 
message or its attachments is strictly prohibited, and you should delete this 
message and all copies and backups thereof. The recipient may not further 
distribute or use any of the information contained herein without the express 
written authorization of the sender. If you have received this message in 
error, or if you have any questions regarding the use of the proprietary 
information contained therein, please contact the sender of this message 
immediately, and the sender will provide you with further instructions.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] Vector CSS Color Map

2020-08-13 Thread Vera Green
Hello,
We have scoured the styling documentation looking for a way to assign a
random color map by type. In other words we have a layer which we want to
style on a field, however we do not want to define each field value
individually, we want to say:
Using this field, assign a random color to each unique field value.
Is this possible in GeoServer CSS or SLD?

Thanks much,
Vera
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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