Importing data/pl: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Trans|Polish|English}}
{{Trans|Polish|English}}
== Getting your data into GRASS ==
== Wprowadzanie swoich danych do systemu GRASS ==


GRASS supports many common GIS formats, and many uncommon ones too.
GRASS obsługuje wiele popularnych formatów danych, a także wiele rzadkich.


The primary import/export tool is called [http://www.gdal.org GDAL/OGR]. It is the Rosetta Stone of the free GIS world:
The primary import/export tool is called [http://www.gdal.org GDAL/OGR]. It is the Rosetta Stone of the free GIS world:


* [http://www.gdal.org/formats_list.html Supported raster formats] via {{cmd|r.in.gdal}}
* [http://www.gdal.org/formats_list.html formaty rastrowe] obsługiwane są przez {{cmd|r.in.gdal}}
* [http://www.gdal.org/ogr/ogr_formats.html Supported vector formats] via {{cmd|v.in.ogr}}
* [http://www.gdal.org/ogr/ogr_formats.html formaty wektorowe] obsługiwane są przez {{cmd|v.in.ogr}}


W oknie powitalnym programu, przy pomocy Kreatora lokacji utwórz nową lokację o właściwym układzie współrzędnych dla swoich danych. Następnie wybierz z menu:
Dla rastrów:  Plik → Import raster data using GDAL
Dla wektorów:  Plik → Import vector data using OGR


Create a new location for your data with the correct map projection using the Location Wizard on the main startup screen, then in the menus:
Zazwyczaj GDAL/OGR automatycznie wykryje format pliku.
Raster formats:  File → Import raster data using GDAL
Vector formats:  File → Import vector data using OGR


Typically GDAL/OGR will automatically detect the file format for you.
* Wiele [http://www.gpsbabel.org/capabilities.shtml formatów GPS] może być zaimportowanych przy pomocy [http://www.gpsbabel.org GPSBabel] oraz narzędzia {{cmd|v.in.gpsbabel}}.
 
* Many [http://www.gpsbabel.org/capabilities.shtml GPS formats] can imported with [http://www.gpsbabel.org GPSBabel] as well using the {{cmd|v.in.gpsbabel}} tool.





Revision as of 17:10, 14 April 2010

This page is in progress of translating to Polish from English.

Wprowadzanie swoich danych do systemu GRASS

GRASS obsługuje wiele popularnych formatów danych, a także wiele rzadkich.

The primary import/export tool is called GDAL/OGR. It is the Rosetta Stone of the free GIS world:

W oknie powitalnym programu, przy pomocy Kreatora lokacji utwórz nową lokację o właściwym układzie współrzędnych dla swoich danych. Następnie wybierz z menu:

Dla rastrów:  Plik → Import raster data using GDAL
Dla wektorów:  Plik → Import vector data using OGR

Zazwyczaj GDAL/OGR automatycznie wykryje format pliku.


After the map has been imported you can add it to the display layer list in the Layer Manager window. You will most likely want to right click on the map in the layer list and select "Zoom to selected map(s)". Otherwise when you go to view the map you could be far away and just see a white display canvas.

To view a raster map, add it to the Layer Manager with the grid-like button with a (+), to add a vector map to the Layer Manager use the button with lines and points on it to the right of the add raster map button. The left hand button in the Map Display window will re-render the map if needed.

The "computation region" is a very important concept in GRASS and is distinct from the "display window" you see in the Map Display window. You can read about it in the rasterintro help page. You can set the computation region and cell resolution to match a specific map with the g.region module.

After importing your data you need to run "g.region -p rast=your_map" or "g.region -p vect=your_map" to set the region bounds/zoom to match that of the newly imported map. Be careful with the region resolution when doing this with vector maps, you may have to run "g.region -a res=" to clean that up and keep it reasonable (for example 2000x2000 rows and columns).

External links

Bulk data import

  • wxGUI menu tools


Modules

Raster

Vector and points

Formaty danych