![]() If the attribute table is stored in a SQL DBMS such as PostgreSQL). The -w flag changes capital column names to lowercase characters asĪ convenience for SQL usage (lowercase column names avoid the need to quote them V.in.ogr converts '.', '-' and '#' to '_' (underscore) during import. Also a table name must start with a character, not a number. This means that SQL neither supports '.' (dots) nor '-' (minus) nor '#' in tableĬolumn names. The command imports various vector formats: Imported with the indicated output name into the PERMANENT mapset. Upon completion of the command, a new location will have beenĬreated (with only a PERMANENT mapset), and the vector map will have been This is accomplishedīy passing the name to be used for the new location via the location On the projection and extents of the file being read. It is possible to have v.in.ogr automatically create a new location based If the user wishes to import the data with the full projection definition, o flag to override the projection check. System of the source data and the current location, they may pass the If the user wishes to ignore the difference between the apparent coordinate Match current location") and then report the PROJ_INFO parameters of Report an error message (" Projection of dataset does not appear to Not match the projection of the current location v.in.ogr will If the projection of the source dataset does Location Creation v.in.ogr attempts to preserve projection information when importingĭatasets if the source format includes projection information, and if Installation (OGR library), for details see NTF, SDTS, TIGER, IHO S-57 (ENC),ĭGN, GML, AVCBin, REC, Memory, OGDI, and PostgreSQL depend on the local ![]() Topology cleaning on areas is automatically performed, but may fail inįurther available drivers such as UK. Settings as the spatial bounds (see g.region). The -r current region flag is identical, but uses the current region All vector features completely or partiallyįalling into this rectangle subregion are imported. This parameter allows the user to restrict the region to a spatial subset The optional spatial parameter defines spatial query extents. ![]() If the layer parameter is not given, all available layers OGR (Simple Features Library) is part of the ![]() Should be greater than snap^2 Default: 0.0001 type= string Type Optionally change default input type Options: point,line,boundary,centroid Default: point: import area centroids as points line: import area boundaries as lines boundary: import lines as area boundaries centroid: import points as centroids snap= float Snapping threshold for boundaries '-1' for no snap Default: -1 location= string Name for new location to create cnames= string List of column names to be used instead of original names, first is used for category column DESCRIPTION v.in.ogr converts MapInfo File: mapinfo file name spatial= xmin,ymin,xmax,ymax Import subregion only Format: xmin,ymin,xmax,ymax - usually W,S,E,N where= sql_query WHERE conditions of SQL statement without 'where' keyword Example: income = 10000 min_area= float Minimum size of area to be imported (square units) Smaller areas and islands are ignored. If not given, all available layers are imported Examples: ![]() MapInfo File: directory containing mapinfo files output= name Name for output vector map layer= string OGR layer name. V.in.ogr ] ] ] ] įlags: -l List available layers in data source and exit -f List supported formats and exit -c Do not clean polygons (not recommended) -z Create 3D output -t Do not create attribute table -o Override dataset projection (use location's projection) -r Limit import to the current region -e Extend location extents based on new dataset -w Change column names to lowercase characters -overwrite Allow output files to overwrite existing files -verbose Verbose module output -quiet Quiet module output Parameters: dsn= string OGR datasource name Examples:ĮSRI Shapefile: directory containing shapefiles NAME v.in.ogr - Convert OGR vector layers to GRASS vector map. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |