[GRASS-user] Vectors in WMS

Hi all,

I've found some vectors of interest on a WMS server (Brazilian
Environmental Ministry) and I'd like to save those vectors locally so
I can do operations like buffers, distances, etc etc, I've seen the
r.in.wms. Is there such a functionality for vectors?

Thanks
Daniel

I'm sorry to disappoint You, but WMS deals with raster and not with
vectors. Vectors You can get with WFS or similar service. If You by
word "vectors" mean roads, rivers etc. displayed as raster in WMS
service, then You should:
1) Download data as rasters (r.in.wms);
2) Extract objects of interest (r.mapcalc);
3) Run r.thin to get thin lines;
4) Convert result to vectors with r.to.vect.

Still You can create buffers and other analysis on raster data.

Maris.

2008/4/24, Daniel Victoria <daniel.victoria@gmail.com>:

Hi all,

I've found some vectors of interest on a WMS server (Brazilian
Environmental Ministry) and I'd like to save those vectors locally so
I can do operations like buffers, distances, etc etc, I've seen the
r.in.wms. Is there such a functionality for vectors?

Thanks
Daniel
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

I don't understand about WMS and WFS a lot. All I know is that there
is a server at the environmental ministry where I can see the
hydrography layers. The only thing is that the maps address changes
every day (it's a per request service I guess) I'll give r.in.wms a
try

If, by any chance, it's a WFS server, is there a download tool for it?

Cheers
Daniel

On Thu, Apr 24, 2008 at 12:08 PM, Maris Nartiss <maris.gis@gmail.com> wrote:

I'm sorry to disappoint You, but WMS deals with raster and not with
vectors. Vectors You can get with WFS or similar service. If You by
word "vectors" mean roads, rivers etc. displayed as raster in WMS
service, then You should:
1) Download data as rasters (r.in.wms);
2) Extract objects of interest (r.mapcalc);
3) Run r.thin to get thin lines;
4) Convert result to vectors with r.to.vect.

Still You can create buffers and other analysis on raster data.

Maris.

2008/4/24, Daniel Victoria <daniel.victoria@gmail.com>:

> Hi all,
>
> I've found some vectors of interest on a WMS server (Brazilian
> Environmental Ministry) and I'd like to save those vectors locally so
> I can do operations like buffers, distances, etc etc, I've seen the
> r.in.wms. Is there such a functionality for vectors?
>
> Thanks
> Daniel
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

Hi,

2008/4/24, Daniel Victoria <daniel.victoria@gmail.com>:
[...]

If, by any chance, it's a WFS server, is there a download tool for it?

sure, v.in.wfs

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

WMS is not limited to rasters. One can also serve the WMS results as SVG, which is a vector format. SVG is supported by Opera, Safari and Firefox.

However, there aren't many WMS that support SVG.

WMS servers symbolized maps, though, and not original vector geodata. To get unsymbolized original vector data, you'd choose a WFS service.

Andreas

Maris Nartiss wrote:

I'm sorry to disappoint You, but WMS deals with raster and not with
vectors. Vectors You can get with WFS or similar service. If You by
word "vectors" mean roads, rivers etc. displayed as raster in WMS
service, then You should:
1) Download data as rasters (r.in.wms);
2) Extract objects of interest (r.mapcalc);
3) Run r.thin to get thin lines;
4) Convert result to vectors with r.to.vect.

Still You can create buffers and other analysis on raster data.

Maris.

2008/4/24, Daniel Victoria <daniel.victoria@gmail.com>:

Hi all,

I've found some vectors of interest on a WMS server (Brazilian
Environmental Ministry) and I'd like to save those vectors locally so
I can do operations like buffers, distances, etc etc, I've seen the
r.in.wms. Is there such a functionality for vectors?

Thanks
Daniel
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--

--
Andreas Neumann
Böschacherstrasse 6
CH-8624 Grüt (Gossau ZH)
Switzerland
Phone: ++41-44-2736668
Email: a.neumann@carto.net

Web: http://www.carto.net/neumann/
SVG Examples: http://www.carto.net/papers/svg/samples/
SVG.Open: http://www.svgopen.org/

Andreas Neumann wrote:

To get unsymbolized original vector data, you'd choose a WFS service.

from yesterday's 6.3.0 release announcement:
  * v.in.wfs: NEW - Import GetFeatures from WFS format

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

How do I know if the server is WFS, WMS or whatever? On the web site
they say it's a WMS...

On Fri, Apr 25, 2008 at 12:23 AM, Hamish <hamish_b@yahoo.com> wrote:

Andreas Neumann wrote:
> To get unsymbolized original vector data, you'd choose a WFS service.

from yesterday's 6.3.0 release announcement:
  * v.in.wfs: NEW - Import GetFeatures from WFS format

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, Apr 25, Daniel Victoria wrote:

How do I know if the server is WFS, WMS or whatever? On the web site
they say it's a WMS...

I'd say that's a pretty good clue :slight_smile:

Otherwise, check the capabilities document:

http://<server URL>?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities

\\kristian
--
... et nemo ex vobis interrogat me: »Quo vadis?«

When a server says it does WMS it doesn't necessarily mean that it also serves WFS data. In fact most servers only do WMS. If you are in doubt and don't find any documentation regarding WFS, contact the data provider.

WFS servers original GIS data in vector format. Many data providers (esp. in Europe) think that their original data is much more valuable and that they do not want to share their original data, but only derived raster based products. This is one of the reasons why WMS is much more popular than WFS. Also, technologically, WFS is a bit younger and less widespread technology than WMS.

Andreas

Daniel Victoria wrote:

How do I know if the server is WFS, WMS or whatever? On the web site
they say it's a WMS...

On Fri, Apr 25, 2008 at 12:23 AM, Hamish <hamish_b@yahoo.com> wrote:

Andreas Neumann wrote:
> To get unsymbolized original vector data, you'd choose a WFS service.

from yesterday's 6.3.0 release announcement:
  * v.in.wfs: NEW - Import GetFeatures from WFS format

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--

--
Andreas Neumann
Böschacherstrasse 6
CH-8624 Grüt (Gossau ZH)
Switzerland
Phone: ++41-44-2736668
Email: a.neumann@carto.net

Web: http://www.carto.net/neumann/
SVG Examples: http://www.carto.net/papers/svg/samples/
SVG.Open: http://www.svgopen.org/