shp2pgis: shp2pgis

Description Usage Arguments Author(s) Examples

Description

shp2pgis

Usage

1
2
shp2pgis(infile,d='postgis',u='postgres',host='localhost',srid=4283,schema='public',
                     pgutils = 'C:/pgutils/')

Arguments

infile

the name of the shapefile (without any extension)

d

the name of the database

u

the name of the user

u

the name of the user

srid

the projection

schema
pgutils

where are your postgres utilities if not on path (defaults to windows)

Author(s)

Joe Guillaume, ivanhanigan

Examples

1
2
3
4
5
6
# ABS spatial units are available at http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1259.0.30.0022006?OpenDocument
# the following file is 44.2Mb

download.file("http://www.abs.gov.au/AUSSTATS/subscriber.nsf/log?openagent&1259030002_sla06aaust_shape.zip&1259.0.30.002&Data%20Cubes&18E90A962EFD4D7ECA25795D00244F5A&0&2006&06.12.2011&Previous", "SLA06.zip", mode = "wb")
unzip('SLA06.zip',junkpaths=T)
shp2pgis(infile='SLA06aAUST', d='ewedb',u='gislibrary',host='115.146.84.135', schema='abs_sla',os='linux')

ivanhanigan/delphe documentation built on May 18, 2019, 7:13 a.m.