wiki:Export shape

Version 7 (modified by celine, 15 years ago) (diff)

--

back to first page..

Problem with the names too long they are renamed with only ten character!!! So maybe we could change it before saving the data inot a shape file ![[BR]]

C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "D:\CelineJouanin\exports_shape\riversegments.shp" -p 5432 -u postgres -P noisette16! -g the_geom -r -k eda2.0 ccm21.riversegments
C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "D:\CelineJouanin\exports_shape\catchments.shp" -p 5432 -u postgres -P noisette16! -g the_geom -r -k eda2.0 ccm21.catchments
C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "D:\CelineJouanin\exports_shape\upstream_riversegments.shp" -p 5432 -u postgres -P noisette16! -g the_geom -r -k eda2.0 ccm21.upstream_riversegments

Warning, field up_catchment_area renamed to up_catchme
Warning, field up_art_11_13 renamed to up_art_11_
Warning, field up_arable_21 renamed to up_arable_
Warning, field up_permcrop_22 renamed to up_permcro
Warning, field up_pasture_23 renamed to up_pasture
Warning, field up_hetagr_24 renamed to up_hetagr_
Warning, field up_forest_31 renamed to up_forest_
Warning, field up_natural_32_33 renamed to up_natural
Warning, field up_wetlands_4 renamed to up_wetland
Warning, field up_inwat_51 renamed to up_inwat_5
Warning, field up_marwat_52 renamed to up_marwat_
Warning, field catchment_area renamed to catchme_01
Warning, field artificial_surfaces_11_13 renamed to artificial
Warning, field artificial_vegetated_14 renamed to artific_01
Warning, field arable_land_21 renamed to arable_lan
Warning, field permanent_crops_22 renamed to permanent_
Warning, field pastures_23 renamed to pastures_2
Warning, field heterogeneous_agricultural_24 renamed to heterogene
Warning, field natural_32_33 renamed to natural_32
Warning, field inland_waterbodies_51 renamed to inland_wat
Warning, field marine_water_52 renamed to marine_wat
Warning, field distance_source renamed to distance_s

I propose to renamed it (if it's necessary) :

Variablerename to
catchment_areacatch_area
artificial_surfaces_11_13art_surf11_13|
artificial_vegetated_14art_veg14
arable_land_21ara_land21
permanent_crops_22perm_crop22
pastures_23past23
heterogeneous_agricultural_24het_agr24
natural_32_33nat32_33
inland_waterbodies_51inl_wat51
marine_water_52mar_wat52
distance_sourced_source
up_catchment_areau_cat_area
up_art_11_13u_art11_13
up_arable_21u_ara21
up_permcrop_22u_permcr22
up_pasture_23u_past23
up_hetagr_24u_hetagr24
up_forest_31u_fore31
up_natural_32_33u_nat32_33
up_wetlands_4u_wet4
up_inwat_51u_inwat51
up_marwat_52u_marwat52