Dear All
Can you please tell me how we use wps request xml in web url to get output
as layer
<?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0"
service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="
http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="
http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gt:VectorToRaster</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference mimeType="text/xml" xlink:href="http://geoserver/wfs"
method="POST">
<wps:Body>
<wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"
xmlns:cite="http://www.opengeospatial.net/cite">
<wfs:Query typeName="cite:cg_block_old"/>
</wfs:GetFeature>
</wps:Body>
</wps:Reference>
</wps:Input>
<wps:Input>
<ows:Identifier>rasterWidth</ows:Identifier>
<wps:Data>
<wps:LiteralData>600</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>rasterHeight</ows:Identifier>
<wps:Data>
<wps:LiteralData>600</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>attribute</ows:Identifier>
<wps:Data>
<wps:LiteralData>bid</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>bounds</ows:Identifier>
<wps:Data>
<wps:BoundingBoxData crs="EPSG:4326" dimensions="2">
<ows:LowerCorner>80.2250595092773
17.7496490478516</ows:LowerCorner>
<ows:UpperCorner>84.419075012207
24.1371479034424</ows:UpperCorner>
</wps:BoundingBoxData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="image/tiff">
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
On Thu, Aug 2, 2018 at 8:07 AM Tripple Tee <[email protected]> wrote:
> You legend Cliff,
>
>
>
> I can export that geojson to shapefile and view great from GeoServer after
> a bit of fiddling with the style.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Clifford Snow <[email protected]>
> *Sent: *Wednesday, 1 August 2018 9:09 PM
> *To: *Tripple Tee <[email protected]>
> *Subject: *Re: [Geoserver-users] Import StreetMap layer
>
>
>
> Sorry for the delay - I'm traveling - internet hasn't always been that
> great.
>
>
>
> Here is a link to grab the riverbanks in Brisbane. Export it as a geojson
> to add to QGIS.
>
>
>
> http://overpass-turbo.eu/s/AHU
>
>
>
> Best,
>
> Clifford
>
>
>
> On Mon, Jul 30, 2018 at 12:31 AM Clifford Snow <[email protected]>
> wrote:
>
> The riverbank is tagged as
> https://www.openstreetmap.org/relation/7642164#map=12/-27.5329/152.9417.
> I've not used your sources for OSM data. You could get the riverbank using
> an overpass-turbo.eu. The data can be exported as a geojson for easy
> incorporation into your project.
>
>
>
> I'm going to be without my computer all day - but will try to get an
> overpass-turbo.eu query built that might help you fill in the blanks when
> I get back this evening.
>
>
>
> Clifford
>
>
>
> On Mon, Jul 30, 2018 at 7:57 AM Tripple Tee <[email protected]>
> wrote:
>
> Hi Cliff,
>
>
>
> Thanks for your info, can you be more specific on “waterway=riverbank” ?
>
> I open the shape file by uDig and couldn’t find any “riverbank”, bellow is
> the screenshot.
>
>
>
> Does the exported shapefile from BBBike lack detail compare with what is
> originated from OSM ? Or the data conversion from whatever source to
> “Shapefile (Ersi)” left out some information
>
>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Clifford Snow <[email protected]>
> *Sent: *Monday, 30 July 2018 3:36 PM
> *To: *[email protected]
> *Cc: *[email protected]; [email protected]
> *Subject: *Re: [Geoserver-users] Import StreetMap layer
>
>
>
>
>
> On Mon, Jul 30, 2018 at 12:33 AM Tripple Tee <[email protected]>
> wrote:
>
> Thanks Phil,
>
>
>
> I will look into the POSTGIS part, at the moment with just the shape files
> and some customised styles I can render this (Brisbane city). That blue
> line is the Brisbane river which I haven’t make a style for. Also in the
> river shape file, every water way thickness is “0” so I will have to
> specify how thick each section of the river or water way. Maybe that is the
> limit of what OSM or BBBike gives.
>
>
>
> Look for a waterway=riverbank on wide streams and rivers. It could be
> either a way or a relation. See
> https://wiki.openstreetmap.org/wiki/Tag:waterway%3Driverbank for more
> specifics. In you specific case you can find out how it was added by using
> the query tool on OpenStreetMap.org.
>
>
>
> As an OSM contributor I can tell you that we use just a way to describe a
> small stream, but anything wider is usually done a way for the stream and
> way or relation for the riverbank.
>
>
>
> Best,
>
> Clifford
>
> --
>
> @osm_seattle
>
> osm_seattle.snowandsnow.us
>
> OpenStreetMap: Maps with a human touch
>
>
>
>
>
>
> --
>
> @osm_seattle
>
> osm_seattle.snowandsnow.us
>
> OpenStreetMap: Maps with a human touch
>
>
>
>
> --
>
> @osm_seattle
>
> osm_seattle.snowandsnow.us
>
> OpenStreetMap: Maps with a human touch
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users