[GRASSLIST:7043] vector map from scanned streetmap

Hi all,

I am new to using GIS and would like some help with GRASS 6.0.
I am trying to digitise old streetmaps into vector format. The scanned
images are in TIFF/PNG format and I want to draw vector graphics from
them. Any hint of the best way of doing this? Is there any online
documentation/tutorials you could point me to?

Thanks & regards,

dooshiant

___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

I am trying to digitise old streetmaps into vector format. The scanned
images are in TIFF/PNG format and I want to draw vector graphics from
them. Any hint of the best way of doing this? Is there any online
documentation/tutorials you could point me to?

The GRASS tutorial covers this in some depth
<http://grass.itc.it/gdp/grass5tutor/HTML_en/p920.html&gt;\. Neteler and
Mitasova's book also covers this in some depth.

Regards,
José

--
José Luis Gómez Dans
Empresa Pública de Desarrollo Agrícola y Pesquero de Andalucía

well,
one could do it by

r.mapcalc streets="if(input == color, 1, null())"
r.thin in=streets out=streets.th
r.to.vect feature=line in=streets.th out=streets
v.clean in=streets out=streets2 tool=prune

Jáchym

On Tue, Jun 07, 2005 at 09:14:30AM +0100, dooshiant wrote:

Hi all,

I am new to using GIS and would like some help with GRASS 6.0.
I am trying to digitise old streetmaps into vector format. The scanned
images are in TIFF/PNG format and I want to draw vector graphics from
them. Any hint of the best way of doing this? Is there any online
documentation/tutorials you could point me to?

Thanks & regards,

dooshiant

___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/

Am Dienstag, 7. Juni 2005 10:14 schrieb dooshiant:

Hi all,

I am new to using GIS and would like some help with GRASS 6.0.
I am trying to digitise old streetmaps into vector format. The scanned
images are in TIFF/PNG format and I want to draw vector graphics from
them. Any hint of the best way of doing this? Is there any online
documentation/tutorials you could point me to?

Hi,

we just finished the translation of our GRASS 6.0 documentation from german
into english. It also includes some hints on digitizing and geocooding
scanned maps - the HTML version can already be found here:

http://www.gdf-hannover.de/lit_html/grass60_v1.1_en/

best,
   Otto

Hi,

we just finished the translation of our GRASS 6.0 documentation from german
into english. It also includes some hints on digitizing and geocooding
scanned maps - the HTML version can already be found here:

http://www.gdf-hannover.de/lit_html/grass60_v1.1_en/

best,
   Otto

Hi,

Is there the avalability of a pdf or an offline html version also planned? For
those of us who do not have instant access of the internet from our computers.

Thanks,
Miha Staut

___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

Autotrace gave me good results as well. After importing you transform the map
to the original coordinate system with v.transform.

Miha Staut

--- Jachym Cepicky <jachym.cepicky@centrum.cz> wrote:

well,
one could do it by

r.mapcalc streets="if(input == color, 1, null())"
r.thin in=streets out=streets.th
r.to.vect feature=line in=streets.th out=streets
v.clean in=streets out=streets2 tool=prune

Jáchym

On Tue, Jun 07, 2005 at 09:14:30AM +0100, dooshiant wrote:
> Hi all,
>
> I am new to using GIS and would like some help with GRASS 6.0.
> I am trying to digitise old streetmaps into vector format. The scanned
> images are in TIFF/PNG format and I want to draw vector graphics from
> them. Any hint of the best way of doing this? Is there any online
> documentation/tutorials you could point me to?
>
> Thanks & regards,
>
> dooshiant
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
voicemail http://uk.messenger.yahoo.com
>

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/

___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

Am Dienstag, 7. Juni 2005 14:26 schrieb Miha Staut:

> Hi,
>
> we just finished the translation of our GRASS 6.0 documentation from
> german into english. It also includes some hints on digitizing and
> geocooding scanned maps - the HTML version can already be found here:
>
> http://www.gdf-hannover.de/lit_html/grass60_v1.1_en/
>
> best,
> Otto

Hi,

Is there the avalability of a pdf or an offline html version also planned?
For those of us who do not have instant access of the internet from our
computers.

hi,

it is released unter GNU FDL. As for the german version, we will provide it
within the next days as:

HTML -> for online reading
LATEX Sources -> to convert into PDF, PS, ...
Printed book -> for home at cost price

   Otto

Le mardi 07 juin 2005 à 13:26 +0100, Miha Staut a écrit :

Is there the avalability of a pdf or an offline html version

For the offline html version, use httrack !

Didrik

I would like to query more than 150 raster layers with r.what, to extract the time evolution of a variable in a certan point of a map (each layer is for a different time step) but i do receive the error:

r.what: can only do up to 150 cell files, sorry.

The call is:

r.what input=$RASTERMAPS east_north=$myeast, $mynorth

where $RASTERMAPS is the list of my files.

How can I overcome this problem?

Thanks, Giacomo

************************************************
   Giacomo Bertoldi, Ph.D.
   Dept. of Civil and Environmental Engineering
   University of Trento - ITALY
   E-MAIL: giacomo.bertoldi@ing.unitn.it
************************************************

Am Dienstag, 7. Juni 2005 14:51 schrieb Didrik Pinte:

Le mardi 07 juin 2005 à 13:26 +0100, Miha Staut a écrit :
> Is there the avalability of a pdf or an offline html version

For the offline html version, use httrack !

yes httrack http://www.gdf-hannover.de/lit_html/grass60_v1.1_en/
will download all pages in your current directory ...

thanks for that hint
    Otto

Not sure if it's the best way but maybe a bash script will do the trick

for i in <list of raster maps>
do r.what input=$i east_north=$myeast, $mynorth >> temp
done

This will (hopefully) append the value to the temp file. Just not
entirely sure if the redirect (>>) should be inside the loop or after
the done statement. Can't test it right now

Cheers
Daniel

On 6/7/05, Giacomo Bertoldi <giacomo.bertoldi@ing.unitn.it> wrote:

I would like to query more than 150 raster layers with r.what, to
extract the time evolution of a variable in a certan point of a map
(each layer is for a different time step) but i do receive the error:

r.what: can only do up to 150 cell files, sorry.

The call is:

r.what input=$RASTERMAPS east_north=$myeast, $mynorth

where $RASTERMAPS is the list of my files.

How can I overcome this problem?

Thanks, Giacomo

************************************************
   Giacomo Bertoldi, Ph.D.
   Dept. of Civil and Environmental Engineering
   University of Trento - ITALY
   E-MAIL: giacomo.bertoldi@ing.unitn.it
************************************************

I am new to using GIS and would like some help with GRASS 6.0.
I am trying to digitise old streetmaps into vector format. The scanned
images are in TIFF/PNG format and I want to draw vector graphics from
them. Any hint of the best way of doing this? Is there any online
documentation/tutorials you could point me to?

g.region rast=geotiff_map
v.digit -n map=newmap bgcmd="d.rast geotiff_map"
- add any needed attribute columns in setup menu
- go!

Hamish

> I would like to query more than 150 raster layers with r.what, to
> extract the time evolution of a variable in a certan point of a map
> (each layer is for a different time step) but i do receive the
> error:
>
> r.what: can only do up to 150 cell files, sorry.
>
> The call is:
>
> r.what input=$RASTERMAPS east_north=$myeast, $mynorth
>
> where $RASTERMAPS is the list of my files.
>
> How can I overcome this problem?

..

Not sure if it's the best way but maybe a bash script will do the
trick

for i in <list of raster maps>
do r.what input=$i east_north=$myeast, $mynorth >> temp
done

This will (hopefully) append the value to the temp file. Just not
entirely sure if the redirect (>>) should be inside the loop or after
the done statement. Can't test it right now

or do less than 150 raster maps at a time and cat the resulting pieces
together...

grass6/raster/r.patch/nfiles.h says:

/* The number of cell files that can be patched together.
*
* All cell files will be opened at one time, so this number can not
* be arbitrarily large.
*
* Must be smaller than MAXFILES as defined in lib/gis/G.h which
* in turn must be smaller than the operating system's limit.
* (Given by `cat /proc/sys/fs/file-max` in Linux 2.4)
*/

(same issue for r.series, r.patch, r.what, ...)

The first line of grass6/raster/r.what/main.c is:
#define NFILES 150

You can make that (a bit less than) MAXFILES in lib/gis/G.h
(currently 256) without too much worry.

Beyond that you'll need to change MAXFILES too. Probably 1024 files
is ok, my system says 200k is file-max. But depends on your system.

Maybe I'll clean these up to reference G.h. The number can't be
'arbitrarily large' due to resource constraints. Search the mailing
lists for emails from Glynn on the subject for a better explanation.

Hamish

Hi,

Tried to import the raster file using r.in.gdal without success.
Can anyone advise how to get past the ¨WARNING: G_set_window(): Illegal
latitude for South¨ error I keep getting. Am I doing something wrong? I
did come across several references to this error message in the list
archives but could not find the solution.

dooshiant

GRASS 6.0.0 (mru):~ > r.in.gdal -o in=/media/cdrecorder/34.png out=34
Over-riding projection check.
Proceeding with import...
WARNING: G_set_window(): Illegal latitude for South
GRASS 6.0.0 (mru):~ > g.region -p
projection: 3 (Latitude-Longitude)
zone: 0
datum: ** unknown (default: WGS84) **
ellipsoid: wgs84
north: 19S
south: 20S
west: 57E
east: 58E
nsres: 0:06
ewres: 0:06
rows: 10
cols: 10
GRASS 6.0.0 (mru):~ >

___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com