Discussion:
[Geoserver-users] How to create WFS layers of given shapefiles and modification of styles of layers on geoserver ?
Yogini Sonawane
2017-05-16 11:27:12 UTC
Permalink
Dear Sir/Madam,

I installed Geoserver 2.11.0 on windows. and I successfully created
internal WMS layer with SLD on Geoserver and opened it on Q GIS.
I added new workspace. then added new store then publish again in layers.
then added .sld file in styles. And finally open it in Q GIS. Attaching the
img file of wms layer.


- Now i wish to create a WFS internally first.
-
- But in store->add new store-> Web Feature Server (NG)
-


1. should i add workspace first? and what should i write in:


-
- Connection Parameters
- WFS GetCapabilities URL



2. How can I get GetCapabilities URL?


3. And in externally hoe to get following url?


Please, help me to create WFS layers of given shapefiles and
modification of styles of layers on geoserver.
-
-


Thanks and regards,


Yogini
Ben Caradoc-Davies
2017-05-16 19:11:55 UTC
Permalink
Yogini,

the "Web Feature Server (NG)" data store allows you to use a WFS as a
*source* of your data. I do not think this is what you want.

To deliver data from shapefiles as WFS and WMS, use "Directory of
spatial files (shapefiles)". You will need a workspace. Your WMS
screenshots indicate that you have already done this; once you have
created the data store, you can access it with both WMS and WFS. To see
the WFS output, go to Layer Preview and choose WFS / GML 3.1 or 3.2 to
see a sample WFS URL.

I am not sure what you mean by styles of WFS layers. Styles apply to WMS
not WFS.

What do you mean by externally visible? External to your computer? To
get such an externally visible WFS URL, you need to have GeoServer
installed on an externally visible server and you likely need to
configure it to respond on port 80. If you just want to view it in QGIS,
you can do so as for WMS.

Kind regards,
Ben.
Post by Yogini Sonawane
Dear Sir/Madam,
I installed Geoserver 2.11.0 on windows. and I successfully created
internal WMS layer with SLD on Geoserver and opened it on Q GIS.
I added new workspace. then added new store then publish again in layers.
then added .sld file in styles. And finally open it in Q GIS. Attaching the
img file of wms layer.
- Now i wish to create a WFS internally first.
-
- But in store->add new store-> Web Feature Server (NG)
-
-
- Connection Parameters
- WFS GetCapabilities URL
2. How can I get GetCapabilities URL?
3. And in externally hoe to get following url?
Please, help me to create WFS layers of given shapefiles and
modification of styles of layers on geoserver.
-
-
Thanks and regards,
Yogini
------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
Yogini Sonawane
2017-05-16 20:24:53 UTC
Permalink
as Ben Caradoc-Davies sir told I got the URL of WFS

http://localhost:8080/geoserver/aa11/ows?service=WFS&
version=1.0.0&request=GetFeature&typeName=aa11:aa11_maharash
tra_administrative&maxFeatures=50&outputFormat=gml3

Thank you very much...

In Geoserver after adding a shapefile, we can edit layer and
styling with .sld file
I edited a shapefile using a style editor on Geoserver and
creates WMS

[image: Inline image 1]


Can't I modify the WFS layer on xml or sotmewhere? Can't i use Transaction to
edit existing features or other operations in it?
[image: Inline image 2]



On Wed, May 17, 2017 at 12:48 AM, Yogini Sonawane <
Thank you do much, sir
Post by Ben Caradoc-Davies
Yogini,
the "Web Feature Server (NG)" data store allows you to use a WFS as a
*source* of your data. I do not think this is what you want.
To deliver data from shapefiles as WFS and WMS, use "Directory of spatial
files (shapefiles)". You will need a workspace. Your WMS screenshots
indicate that you have already done this; once you have created the data
store, you can access it with both WMS and WFS. To see the WFS output, go
to Layer Preview and choose WFS / GML 3.1 or 3.2 to see a sample WFS URL.
I am not sure what you mean by styles of WFS layers. Styles apply to WMS
not WFS.
What do you mean by externally visible? External to your computer? To get
such an externally visible WFS URL, you need to have GeoServer installed on
an externally visible server and you likely need to configure it to respond
on port 80. If you just want to view it in QGIS, you can do so as for WMS.
Kind regards,
Ben.
Post by Yogini Sonawane
Dear Sir/Madam,
I installed Geoserver 2.11.0 on windows. and I successfully created
internal WMS layer with SLD on Geoserver and opened it on Q GIS.
I added new workspace. then added new store then publish again in layers.
then added .sld file in styles. And finally open it in Q GIS. Attaching the
img file of wms layer.
- Now i wish to create a WFS internally first.
-
- But in store->add new store-> Web Feature Server (NG)
-
-
- Connection Parameters
- WFS GetCapabilities URL
2. How can I get GetCapabilities URL?
3. And in externally hoe to get following url?
Please, help me to create WFS layers of given shapefiles and
modification of styles of layers on geoserver.
-
-
Thanks and regards,
Yogini
------------------------------------------------------------
------------------
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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Director
Transient Software Limited <http://transient.nz/>
New Zealand
Ben Caradoc-Davies
2017-05-16 21:15:30 UTC
Permalink
Yogini,

WFS provides access to the underlying data. Styling WFS is the
responsibility of the WFS client. Examples of clients that can consume
WFS include QGIS and OpenLayers.

For example, in the QGIS Browser Panel you can add a new WFS connection
with URL <http://localhost:8080/geoserver/wfs>. QGIS then uses WFS
GetCapabilities to discover available WFS layers. You can then add a
layer to the map. GeoServer delivers the data via WFS, and QGIS performs
the styling.

For WFS transactions, see the WFS_transaction*.xml examples in Demos /
Demo requests.

Kind regards,
Ben.
Post by Yogini Sonawane
as Ben Caradoc-Davies sir told I got the URL of WFS
http://localhost:8080/geoserver/aa11/ows?service=WFS&
version=1.0.0&request=GetFeature&typeName=aa11:aa11_maharash
tra_administrative&maxFeatures=50&outputFormat=gml3
Thank you very much...
In Geoserver after adding a shapefile, we can edit layer and
styling with .sld file
I edited a shapefile using a style editor on Geoserver and
creates WMS
[image: Inline image 1]
Can't I modify the WFS layer on xml or sotmewhere? Can't i use Transaction to
edit existing features or other operations in it?
[image: Inline image 2]
On Wed, May 17, 2017 at 12:48 AM, Yogini Sonawane <
Thank you do much, sir
Post by Ben Caradoc-Davies
Yogini,
the "Web Feature Server (NG)" data store allows you to use a WFS as a
*source* of your data. I do not think this is what you want.
To deliver data from shapefiles as WFS and WMS, use "Directory of spatial
files (shapefiles)". You will need a workspace. Your WMS screenshots
indicate that you have already done this; once you have created the data
store, you can access it with both WMS and WFS. To see the WFS output, go
to Layer Preview and choose WFS / GML 3.1 or 3.2 to see a sample WFS URL.
I am not sure what you mean by styles of WFS layers. Styles apply to WMS
not WFS.
What do you mean by externally visible? External to your computer? To get
such an externally visible WFS URL, you need to have GeoServer installed on
an externally visible server and you likely need to configure it to respond
on port 80. If you just want to view it in QGIS, you can do so as for WMS.
Kind regards,
Ben.
Post by Yogini Sonawane
Dear Sir/Madam,
I installed Geoserver 2.11.0 on windows. and I successfully created
internal WMS layer with SLD on Geoserver and opened it on Q GIS.
I added new workspace. then added new store then publish again in layers.
then added .sld file in styles. And finally open it in Q GIS. Attaching the
img file of wms layer.
- Now i wish to create a WFS internally first.
-
- But in store->add new store-> Web Feature Server (NG)
-
-
- Connection Parameters
- WFS GetCapabilities URL
2. How can I get GetCapabilities URL?
3. And in externally hoe to get following url?
Please, help me to create WFS layers of given shapefiles and
modification of styles of layers on geoserver.
-
-
Thanks and regards,
Yogini
------------------------------------------------------------
------------------
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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Director
Transient Software Limited <http://transient.nz/>
New Zealand
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
Loading...