pour les préfectures
This commit is contained in:
parent
0ce8e19260
commit
d1ac8e6fd2
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -57,3 +57,4 @@ Temporary Items
|
|||
|
||||
|
||||
|
||||
*.recover
|
||||
|
|
68
data/2021/ar-redadeg-2021-prefectures.xml
Normal file
68
data/2021/ar-redadeg-2021-prefectures.xml
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config>
|
||||
<application
|
||||
title="Ar Redadeg 2021"
|
||||
mouseposition="false"
|
||||
logo=""
|
||||
help="mviewer_help.html"
|
||||
measuretools="true"
|
||||
exportpng="true"
|
||||
style="css/themes/wet_asphalt.css"
|
||||
togglealllayersfromtheme="true"/>
|
||||
|
||||
<mapoptions
|
||||
projection="EPSG:3857"
|
||||
maxzoom="19"
|
||||
center="-220750.13768758904,6144925.57790189"
|
||||
zoom="8"
|
||||
projextent="-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244" />
|
||||
|
||||
<baselayers style="default"><!-- style="default"||gallery" -->
|
||||
|
||||
<baselayer
|
||||
type="WMTS" id="ign" label="Cartes IGN" title="Cartes IGN" attribution="IGN via GéoBretagne"
|
||||
thumbgallery="img/basemap/scan.jpg"
|
||||
url="https://tile.geobretagne.fr/gwc02/service/wmts" maxzoom="20"
|
||||
layers="carte" format="image/jpeg" style="_null" matrixset="EPSG:3857" fromcapacity="false"
|
||||
visible="true" />
|
||||
|
||||
|
||||
<baselayer
|
||||
type="OSM" id="osm-br" label="OSM e brezhoneg" title="OSM e brezhoneg" attribution="OpenStreetMap e brezhoneg"
|
||||
thumbgallery="img/basemap/osm.png"
|
||||
url="https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png" maxzoom="20"
|
||||
visible="false" />
|
||||
<baselayer
|
||||
type="OSM" id="osm-fr" label="OSM FR" title="OSM FR" attribution="OpenStreetMap France"
|
||||
thumbgallery="img/basemap/osm.png"
|
||||
url="https://{a-c}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png" maxzoom="20"
|
||||
visible="false" />
|
||||
<baselayer
|
||||
type="WMTS" id="ortho" label="Ortophotographie" title="Photographie aérienne composite" attribution="GéoBretagne et ses partenaires"
|
||||
thumbgallery="img/basemap/osm.png"
|
||||
url="https://tile.geobretagne.fr/gwc02/service/wmts" maxzoom="20"
|
||||
layers="satellite" format="image/jpeg" style="_null" matrixset="EPSG:3857" fromcapacity="false"
|
||||
visible="false" />
|
||||
</baselayers>
|
||||
|
||||
<proxy url=""/>
|
||||
|
||||
<olscompletion url="http://api-adresse.data.gouv.fr/search/" type="ban"/>
|
||||
<searchparameters bbox="false" localities="true" features="false" />
|
||||
|
||||
<themes>
|
||||
<theme name="Tracé Ar Redadeg 2021" collapsed="false" id="phase_3" icon="">
|
||||
<layer
|
||||
id="phase_3_trace_troncons"
|
||||
name="tracé découpé par km redadeg"
|
||||
visible="true"
|
||||
url="https://ar-redadeg.openstreetmap.bzh/geoserver/redadeg_2021/wms"
|
||||
infoformat="application/vnd.ogc.gml"
|
||||
tiled="false"
|
||||
searchable="false"
|
||||
queryable="true"
|
||||
>
|
||||
</layer>
|
||||
</theme>
|
||||
</themes>
|
||||
</config>
|
2094
data/2021/ar_redadeg_prefecture.csv
Normal file
2094
data/2021/ar_redadeg_prefecture.csv
Normal file
File diff suppressed because it is too large
Load diff
722
scripts/export_prefecture_liste_voies.fmw
Normal file
722
scripts/export_prefecture_liste_voies.fmw
Normal file
|
@ -0,0 +1,722 @@
|
|||
#! <?xml version="1.0" encoding="UTF-8" ?>
|
||||
#! <WORKSPACE
|
||||
# Command-line to run this workspace:
|
||||
# /Library/FME/2021.0/fme /Volumes/ker/mael/projets/osm_bzh/github/ar_redadeg/scripts/export_prefecture_liste_voies.fmw
|
||||
# --DestDataset_CSV2 "/Volumes/ker/mael/projets/osm_bzh/github/ar_redadeg/data/2021"
|
||||
#
|
||||
#! ARCGIS_COMPATIBILITY="ARCGIS_AUTO"
|
||||
#! ATTR_TYPE_ENCODING="SDF"
|
||||
#! BEGIN_PYTHON=""
|
||||
#! BEGIN_TCL=""
|
||||
#! CATEGORY=""
|
||||
#! DESCRIPTION=""
|
||||
#! DESTINATION="NONE"
|
||||
#! DESTINATION_ROUTING_FILE=""
|
||||
#! DOC_EXTENTS="1886.02 121.498"
|
||||
#! DOC_TOP_LEFT="111.001 -544.502"
|
||||
#! END_PYTHON=""
|
||||
#! END_TCL=""
|
||||
#! EXPLICIT_BOOKMARK_ORDER="false"
|
||||
#! FME_BUILD_NUM="21306"
|
||||
#! FME_DOCUMENT_GUID="c22220ae-dc47-47c8-9b45-682e7e2d9c51"
|
||||
#! FME_DOCUMENT_PRIORGUID="c156843b-406b-4b08-ae82-1bd2890bdbce"
|
||||
#! FME_GEOMETRY_HANDLING="Enhanced"
|
||||
#! FME_IMPLICIT_CSMAP_REPROJECTION_MODE="Auto"
|
||||
#! FME_NAMES_ENCODING="UTF-8"
|
||||
#! FME_REPROJECTION_ENGINE="FME"
|
||||
#! FME_SERVER_SERVICES=""
|
||||
#! FME_STROKE_MAX_DEVIATION="0"
|
||||
#! HISTORY=""
|
||||
#! IGNORE_READER_FAILURE="No"
|
||||
#! LAST_SAVE_BUILD="FME(R) 2021.0.0.1 (20210315 - Build 21306 - macosx)"
|
||||
#! LAST_SAVE_DATE="2021-05-04T22:34:08"
|
||||
#! LOG_FILE=""
|
||||
#! LOG_MAX_RECORDED_FEATURES="200"
|
||||
#! MARKDOWN_DESCRIPTION=""
|
||||
#! MARKDOWN_USAGE=""
|
||||
#! MAX_LOG_FEATURES="200"
|
||||
#! MULTI_WRITER_DATASET_ORDER="BY_ID"
|
||||
#! PASSWORD=""
|
||||
#! PYTHON_COMPATIBILITY="38"
|
||||
#! REDIRECT_TERMINATORS="NONE"
|
||||
#! SAVE_ON_PROMPT_AND_RUN="Yes"
|
||||
#! SHOW_ANNOTATIONS="true"
|
||||
#! SHOW_INFO_NODES="true"
|
||||
#! SOURCE="NONE"
|
||||
#! SOURCE_ROUTING_FILE=""
|
||||
#! TERMINATE_REJECTED="YES"
|
||||
#! TITLE=""
|
||||
#! USAGE=""
|
||||
#! USE_MARKDOWN=""
|
||||
#! VIEW_POSITION="-342.003 0"
|
||||
#! WARN_INVALID_XFORM_PARAM="Yes"
|
||||
#! WORKSPACE_VERSION="1"
|
||||
#! ZOOM_SCALE="100"
|
||||
#! >
|
||||
#! <DATASETS>
|
||||
#! <DATASET
|
||||
#! IS_SOURCE="false"
|
||||
#! ROLE="WRITER"
|
||||
#! FORMAT="CSV2"
|
||||
#! DATASET="$(DestDataset_CSV2)"
|
||||
#! KEYWORD="CSV2_1"
|
||||
#! MULTI_GEOM_ALLOWED="true"
|
||||
#! ATTR_MAX_LENGTH="255"
|
||||
#! ATTR_CASE="ANY"
|
||||
#! ALLOWED_FEAT_TYPES=""
|
||||
#! WRITE_DEFS="true"
|
||||
#! DEFLINE_TEMPLATE="csv_existing_file_handling Yes csv_write_field_names firstrow"
|
||||
#! DEFLINE_ATTRS="true"
|
||||
#! EXPOSABLE_ATTRS="csv_type string fme_basename string fme_color string fme_dataset string fme_feature_type string fme_fill_color string fme_geometry string fme_primary_axis string fme_rotation string fme_secondary_axis string fme_start_angle string fme_sweep_angle string fme_text_size string fme_text_string string fme_type string"
|
||||
#! DEFLINE_PARMS=""GUI OPTIONAL NAMEDGROUP csv_dataset_group csv_existing_file_handling Dataset" "" "GUI CHOICE csv_existing_file_handling Yes%No Overwrite Existing File" Yes "GUI OPTIONAL NAMEDGROUP csv_fields_group csv_write_field_names Fields" "" "GUI LOOKUP_CHOICE csv_write_field_names If<space>Writing<space>First<space>Row,firstrow%Yes,yes%No,no Write Field Names Row" firstrow "
|
||||
#! ATTR_INDEX_TYPES=""
|
||||
#! ATTR_NAME_INVALID_CHARS=""*{}$"
|
||||
#! SUPPORTS_FEATURE_TYPE_FANOUT="true"
|
||||
#! ENABLED="true"
|
||||
#! DYNAMIC_FEATURE_TYPES_LIST_ON_MERGE="true"
|
||||
#! DATASET_TYPE="FILEDIR"
|
||||
#! FTTR_TYPE=""
|
||||
#! GENERATE_FME_BUILD_NUM="21306"
|
||||
#! COORDSYS=""
|
||||
#! FANOUT_EXPRESSION=""
|
||||
#! FANOUT_GROUP="NO"
|
||||
#! >
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="ADVANCED_PARMS"
|
||||
#! VALUE="CSV2_OUT_QUALIFY_FIELD_NAMES CSV2_OUT_QUALIFY_FIELD_VALUES CSV2_OUT_FIELD_QUALIFIER_CHARACTER CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER CSV2_OUT_ROW_TERMINATION CSV2_OUT_WRITE_SCHEMA_FILE CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="ATTRIBUTE_READING"
|
||||
#! VALUE="DEFLINE"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="DATASET_NAME"
|
||||
#! VALUE="csv file"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="DEFAULT_ATTR_TYPE"
|
||||
#! VALUE="string"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="FEATURE_TYPE_DEFAULT_NAME"
|
||||
#! VALUE="File1"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="FEATURE_TYPE_NAME"
|
||||
#! VALUE="CSV File"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="READER_DATASET_HINT"
|
||||
#! VALUE="Select the CSV file(s)"
|
||||
#! />
|
||||
#! <METAFILE_PARAMETER
|
||||
#! NAME="WRITER_DATASET_HINT"
|
||||
#! VALUE="Specify a folder for the CSV file"
|
||||
#! />
|
||||
#! </DATASET>
|
||||
#! </DATASETS>
|
||||
#! <DATA_TYPES>
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_buffer"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_binarybuffer"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_xml"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_json"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_varchar(width)"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_varbinary(width)"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_char(width)"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_binary(width)"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_datetime"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_time"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_date"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_real64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="real64"
|
||||
#! FME_TYPE="fme_real64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="x_coordinate"
|
||||
#! FME_TYPE="fme_real64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="y_coordinate"
|
||||
#! FME_TYPE="fme_real64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="z_coordinate"
|
||||
#! FME_TYPE="fme_real64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_real32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="real32"
|
||||
#! FME_TYPE="fme_real32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_int64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="int64"
|
||||
#! FME_TYPE="fme_int64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_int32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="int32"
|
||||
#! FME_TYPE="fme_int32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_int16"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="int16"
|
||||
#! FME_TYPE="fme_int16"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_int8"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="int8"
|
||||
#! FME_TYPE="fme_int8"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_uint64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="uint64"
|
||||
#! FME_TYPE="fme_uint64"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_uint32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="uint32"
|
||||
#! FME_TYPE="fme_uint32"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_uint16"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="uint16"
|
||||
#! FME_TYPE="fme_uint16"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_uint8"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="uint8"
|
||||
#! FME_TYPE="fme_uint8"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_boolean"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="boolean"
|
||||
#! FME_TYPE="fme_boolean"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <DATA_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="string"
|
||||
#! FME_TYPE="fme_decimal(width,decimal)"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! </DATA_TYPES>
|
||||
#! <GEOM_TYPES>
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_feature_table"
|
||||
#! FME_TYPE="fme_feature_table"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_no_geom"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_point"
|
||||
#! FME_TYPE="fme_point"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_line"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_area"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_text"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_ellipse"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_arc"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_rectangle"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_rounded_rectangle"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="fme_no_map"
|
||||
#! FME_TYPE="fme_no_geom"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="fme_no_map"
|
||||
#! FME_TYPE="fme_no_map"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_collection"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_raster"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_surface"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_solid"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_point_cloud"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! <GEOM_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! FORMAT_TYPE="csv_none"
|
||||
#! FME_TYPE="fme_voxel_grid"
|
||||
#! FORMAT="CSV2"
|
||||
#! />
|
||||
#! </GEOM_TYPES>
|
||||
#! <FEATURE_TYPES>
|
||||
#! <FEATURE_TYPE
|
||||
#! IS_SOURCE="false"
|
||||
#! NODE_NAME="ar_redadeg_prefecture"
|
||||
#! FEATURE_TYPE_NAME=""
|
||||
#! FEATURE_TYPE_NAME_QUALIFIER=""
|
||||
#! IS_EDITABLE="false"
|
||||
#! IDENTIFIER="4"
|
||||
#! FEAT_GEOMTYPE="<NO_GEOMETRY>"
|
||||
#! POSITION="1411.0084300843005 -473.50207002070022"
|
||||
#! BOUNDING_RECT="1411.0084300843005 -473.50207002070022 586.01669325772946 71"
|
||||
#! ORDER="500000000000000"
|
||||
#! COLLAPSED="false"
|
||||
#! KEYWORD="CSV2_1"
|
||||
#! PARMS_EDITED="false"
|
||||
#! ENABLED="true"
|
||||
#! SCHEMA_ATTRIBUTE_SOURCE="0"
|
||||
#! >
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="dpt" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="insee" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="nom" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="pk_id" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="voie_ref" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <FEAT_ATTRIBUTE ATTR_NAME="voie_nom" ATTR_TYPE="string" ATTR_HAS_PORT="true" ATTR_VALUE=""/>
|
||||
#! <DEFLINE_PARM PARM_NAME="csv_dataset_group" PARM_VALUE=""/>
|
||||
#! <DEFLINE_PARM PARM_NAME="csv_existing_file_handling" PARM_VALUE="Yes"/>
|
||||
#! <DEFLINE_PARM PARM_NAME="csv_fields_group" PARM_VALUE=""/>
|
||||
#! <DEFLINE_PARM PARM_NAME="csv_write_field_names" PARM_VALUE="firstrow"/>
|
||||
#! </FEATURE_TYPE>
|
||||
#! </FEATURE_TYPES>
|
||||
#! <FMESERVER>
|
||||
#! <WRITER_DATASETS>
|
||||
#! <DATASET
|
||||
#! NAME="CSV2_1"
|
||||
#! OVERRIDE="-CSV2_1_DATASET"
|
||||
#! DATASET="CSV2_1/2021"
|
||||
#! />
|
||||
#! </WRITER_DATASETS>
|
||||
#! <CONNECTIONS>
|
||||
#! <CONNECTION
|
||||
#! NAME="bed110@redadeg_2021@redadeg"
|
||||
#! TYPE="DATABASE"
|
||||
#! FAMILY="PostgreSQL"
|
||||
#! USAGE="INTERNAL"
|
||||
#! />
|
||||
#! </CONNECTIONS>
|
||||
#! </FMESERVER>
|
||||
#! <GLOBAL_PARAMETERS>
|
||||
#! <GLOBAL_PARAMETER
|
||||
#! GUI_LINE="GUI DIRNAME DestDataset_CSV2 Destination CSV (Comma Separated Value) Folder:"
|
||||
#! DEFAULT_VALUE="/Volumes/ker/mael/projets/osm_bzh/github/ar_redadeg/data/2021"
|
||||
#! IS_STAND_ALONE="false"
|
||||
#! />
|
||||
#! </GLOBAL_PARAMETERS>
|
||||
#! <USER_PARAMETERS
|
||||
#! FORM="eyJwYXJhbWV0ZXJzIjpbeyJhY2Nlc3NNb2RlIjoid3JpdGUiLCJkZWZhdWx0VmFsdWUiOiIvVm9sdW1lcy9rZXIvbWFlbC9wcm9qZXRzL29zbV9iemgvZ2l0aHViL2FyX3JlZGFkZWcvZGF0YS8yMDIxIiwiaXRlbXNUb1NlbGVjdCI6ImZvbGRlcnMiLCJuYW1lIjoiRGVzdERhdGFzZXRfQ1NWMiIsInByb21wdCI6IkRlc3RpbmF0aW9uIENTViAoQ29tbWEgU2VwYXJhdGVkIFZhbHVlKSBGb2xkZXI6IiwicmVxdWlyZWQiOnRydWUsInNlbGVjdE11bHRpcGxlIjpmYWxzZSwidHlwZSI6ImZpbGUiLCJ2YWxpZGF0ZUV4aXN0ZW5jZSI6ZmFsc2UsInZhbHVlVHlwZSI6InN0cmluZyJ9XX0="
|
||||
#! >
|
||||
#! <PARAMETER_INFO>
|
||||
#! <INFO NAME="DestDataset_CSV2" IS_STAND_ALONE="false" />
|
||||
#! </PARAMETER_INFO>
|
||||
#! </USER_PARAMETERS>
|
||||
#! <COMMENTS>
|
||||
#! </COMMENTS>
|
||||
#! <CONSTANTS>
|
||||
#! </CONSTANTS>
|
||||
#! <BOOKMARKS>
|
||||
#! </BOOKMARKS>
|
||||
#! <TRANSFORMERS>
|
||||
#! <TRANSFORMER
|
||||
#! IDENTIFIER="9"
|
||||
#! TYPE="SQLCreator"
|
||||
#! VERSION="3"
|
||||
#! POSITION="111.00111001110014 -423.00423004230038"
|
||||
#! BOUNDING_RECT="111.00111001110014 -423.00423004230038 430 71"
|
||||
#! ORDER="500000000000148"
|
||||
#! PARMS_EDITED="true"
|
||||
#! ENABLED="true"
|
||||
#! LAST_PARM_EDIT="21306"
|
||||
#! >
|
||||
#! <OUTPUT_FEAT NAME="RESULT"/>
|
||||
#! <XFORM_ATTR ATTR_NAME="dpt" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <XFORM_ATTR ATTR_NAME="insee" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <XFORM_ATTR ATTR_NAME="nom" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <XFORM_ATTR ATTR_NAME="pk_id" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <XFORM_ATTR ATTR_NAME="voie_ref" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <XFORM_ATTR ATTR_NAME="voie_nom" IS_USER_CREATED="false" FEAT_INDEX="0" />
|
||||
#! <OUTPUT_FEAT NAME="<REJECTED>"/>
|
||||
#! <FEAT_COLLAPSED COLLAPSED="1"/>
|
||||
#! <XFORM_ATTR ATTR_NAME="_reader_error" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="dpt" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="insee" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="nom" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="pk_id" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="voie_ref" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_ATTR ATTR_NAME="voie_nom" IS_USER_CREATED="false" FEAT_INDEX="1" />
|
||||
#! <XFORM_PARM PARM_NAME="COORDSYS" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="DATASET" PARM_VALUE="bed110<at>redadeg_2021<at>redadeg"/>
|
||||
#! <XFORM_PARM PARM_NAME="DB_GROUP" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="DYNGROUP_0" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="EXPOSED_ATTRIBUTE_LIST" PARM_VALUE="dpt insee nom pk_id voie_ref voie_nom"/>
|
||||
#! <XFORM_PARM PARM_NAME="FEATURETYPES" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="FORMAT" PARM_VALUE="POSTGRES"/>
|
||||
#! <XFORM_PARM PARM_NAME="FORMAT_PARAMS" PARM_VALUE="POSTGRES_SCHEMAS_FOR_TABLE_LISTING,"IGNORE TEXT",POSTGRES<space>Schemas<space>for<space>Tables:,POSTGRES_NAMED_CONNECTION,"IGNORE TEXT",POSTGRES<space>Connection:"/>
|
||||
#! <XFORM_PARM PARM_NAME="PARAMETERS_GROUP" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="POSTGRES_NAMED_CONNECTION" PARM_VALUE="bed110<at>redadeg_2021<at>redadeg"/>
|
||||
#! <XFORM_PARM PARM_NAME="POSTGRES_SCHEMAS_FOR_TABLE_LISTING" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="SQL_STATEMENT" PARM_VALUE="SELECT<lf><space><space>left<openparen>com.insee<comma>2<closeparen><space>as<space>dpt<comma><lf><space><space>com.insee<comma><space>com.nom<comma><lf><space><space>pk.pk_id<comma><space>pk.way_ref<space>as<space>voie_ref<comma><lf><space><space>CASE<lf><space><space><space><space>WHEN<space>way_name_fr<space>IS<space>NULL<space>THEN<space><apos><openparen>voie<space>non<space>d<u00e9>nomm<u00e9>e<closeparen><apos><lf><tab>ELSE<space>way_name_fr<lf><space><space>END<space>as<space>voie_nom<lf>FROM<space>phase_3_pk_auto<space>pk<comma><space>osm_communes<space>com<lf>WHERE<space>ST_Intersects<openparen>pk.the_geom<comma>com.the_geom<closeparen><lf>ORDER<space>BY<space>pk_id"/>
|
||||
#! <XFORM_PARM PARM_NAME="TRANSFORMER_GROUP" PARM_VALUE=""/>
|
||||
#! <XFORM_PARM PARM_NAME="XFORMER_NAME" PARM_VALUE="SQLCreator"/>
|
||||
#! </TRANSFORMER>
|
||||
#! </TRANSFORMERS>
|
||||
#! <FEAT_LINKS>
|
||||
#! <FEAT_LINK
|
||||
#! IDENTIFIER="5"
|
||||
#! SOURCE_NODE="9"
|
||||
#! TARGET_NODE="4"
|
||||
#! SOURCE_PORT_DESC="fo 0 RESULT"
|
||||
#! TARGET_PORT_DESC="-1"
|
||||
#! ENABLED="true"
|
||||
#! EXECUTION_IDX="0"
|
||||
#! HIDDEN="false"
|
||||
#! COLOUR="0,0,0,1"
|
||||
#! PEN_WIDTH="4"
|
||||
#! PEN_STYLE="1"
|
||||
#! LINK_STYLE_NAME="<Default>"
|
||||
#! EXTRA_POINTS=""
|
||||
#! />
|
||||
#! </FEAT_LINKS>
|
||||
#! <BREAKPOINTS>
|
||||
#! </BREAKPOINTS>
|
||||
#! <ATTR_LINKS>
|
||||
#! </ATTR_LINKS>
|
||||
#! <SUBDOCUMENTS>
|
||||
#! </SUBDOCUMENTS>
|
||||
#! <LOOKUP_TABLES>
|
||||
#! </LOOKUP_TABLES>
|
||||
#! </WORKSPACE>
|
||||
|
||||
FME_PYTHON_VERSION 38
|
||||
ARCGIS_COMPATIBILITY ARCGIS_AUTO
|
||||
GUI IGNORE DestDataset_CSV2_1,CSV2_OUT_DATASET_GROUP_CSV2_1,CSV2_OUT_EXTENSION_CSV2_1,CSV2_OUT_FIELDS_GROUP_CSV2_1,CSV2_OUT_DELIMITER_CSV2_1,CSV2_OUT_ENCODING_GROUP_CSV2_1,CSV2_OUT_ENCODING_CSV2_1,CSV2_OUT_WRITE_BOM_FOR_UNICODE_CSV2_1,CSV2_OUT_ADVANCED_GROUP_CSV2_1,CSV2_OUT_QUALIFY_FIELD_NAMES_CSV2_1,CSV2_OUT_QUALIFY_FIELD_VALUES_CSV2_1,CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1,CSV2_OUT_FIELD_QUALIFIER_CHARACTER_CSV2_1,CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER_CSV2_1,CSV2_OUT_ROW_TERMINATION_CSV2_1,CSV2_OUT_WRITE_SCHEMA_FILE_CSV2_1,CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING_CSV2_1
|
||||
# ============================================================================
|
||||
DEFAULT_MACRO DestDataset_CSV2 /Volumes/ker/mael/projets/osm_bzh/github/ar_redadeg/data/2021
|
||||
# ============================================================================
|
||||
GUI DIRNAME DestDataset_CSV2 Destination CSV (Comma Separated Value) Folder:
|
||||
# ============================================================================
|
||||
USER_PARAMETERS eyJwYXJhbWV0ZXJzIjpbeyJhY2Nlc3NNb2RlIjoid3JpdGUiLCJkZWZhdWx0VmFsdWUiOiIvVm9sdW1lcy9rZXIvbWFlbC9wcm9qZXRzL29zbV9iemgvZ2l0aHViL2FyX3JlZGFkZWcvZGF0YS8yMDIxIiwiaXRlbXNUb1NlbGVjdCI6ImZvbGRlcnMiLCJuYW1lIjoiRGVzdERhdGFzZXRfQ1NWMiIsInByb21wdCI6IkRlc3RpbmF0aW9uIENTViAoQ29tbWEgU2VwYXJhdGVkIFZhbHVlKSBGb2xkZXI6IiwicmVxdWlyZWQiOnRydWUsInNlbGVjdE11bHRpcGxlIjpmYWxzZSwidHlwZSI6ImZpbGUiLCJ2YWxpZGF0ZUV4aXN0ZW5jZSI6ZmFsc2UsInZhbHVlVHlwZSI6InN0cmluZyJ9XX0=
|
||||
# ============================================================================
|
||||
INCLUDE [ if {{$(DestDataset_CSV2)} == {}} { puts_real {Parameter 'DestDataset_CSV2' must be given a value.}; exit 1; }; ]
|
||||
#! START_HEADER
|
||||
#! START_WB_HEADER
|
||||
READER_TYPE MULTI_READER
|
||||
WRITER_TYPE MULTI_WRITER
|
||||
MULTI_WRITER_DATASET_ORDER BY_ID
|
||||
MULTI_WRITER_FIRST_WRITER_ID 0
|
||||
MULTI_WRITER_TYPE{0} CSV2
|
||||
MULTI_WRITER_KEYWORD{0} CSV2_1
|
||||
#! END_WB_HEADER
|
||||
#! START_WB_HEADER
|
||||
MACRO WB_KEYWORD "CSV2_1"
|
||||
#! END_WB_HEADER
|
||||
#! START_DEST_HEADER CSV2 CSV2_1
|
||||
# =====================================================================
|
||||
# The following GUI line prompts for a folder where the
|
||||
# CSV files will be stored
|
||||
#! END_DEST_HEADER
|
||||
#! START_WB_HEADER
|
||||
DEFAULT_MACRO DestDataset
|
||||
INCLUDE [ if {"$(DestDataset)" != ""} { \
|
||||
puts {DEFAULT_MACRO DestDataset_CSV2_1 $(DestDataset)} \
|
||||
} ]
|
||||
#! END_WB_HEADER
|
||||
#! START_DEST_HEADER CSV2 CSV2_1
|
||||
DEFAULT_MACRO DestDataset_CSV2_1 $(DestDataset_CSV2)
|
||||
GUI DIRNAME DestDataset_CSV2_1 Destination CSV (Comma Separated Value) Folder:
|
||||
DEFAULT_MACRO CSV2_OUT_DATASET_GROUP_CSV2_1
|
||||
GUI OPTIONAL DISCLOSUREGROUP CSV2_OUT_DATASET_GROUP_CSV2_1 CSV2_OUT_EXTENSION_CSV2_1%CSV2_OUT_EXISTING_FILE_HANDLING Dataset
|
||||
DEFAULT_MACRO CSV2_OUT_EXTENSION_CSV2_1 csv
|
||||
CSV2_1_EXTENSION "$(CSV2_OUT_EXTENSION_CSV2_1)"
|
||||
GUI OPTIONAL TEXT CSV2_OUT_EXTENSION_CSV2_1 Extension:
|
||||
DEFAULT_MACRO CSV2_OUT_EXISTING_FILE_HANDLING_CSV2_1 Yes
|
||||
CSV2_1_EXISTING_FILE_HANDLING "$(CSV2_OUT_EXISTING_FILE_HANDLING_CSV2_1)"
|
||||
DEFAULT_MACRO CSV2_OUT_FIELDS_GROUP_CSV2_1
|
||||
GUI OPTIONAL DISCLOSUREGROUP CSV2_OUT_FIELDS_GROUP_CSV2_1 CSV2_OUT_DELIMITER_CSV2_1%CSV2_OUT_WRITE_FIELD_NAMES Fields
|
||||
DEFAULT_MACRO CSV2_OUT_DELIMITER_CSV2_1 <comma>
|
||||
CSV2_1_DELIMITER "$(CSV2_OUT_DELIMITER_CSV2_1)"
|
||||
GUI STRING_OR_CHOICE_ENCODED CSV2_OUT_DELIMITER_CSV2_1 ,%;%|%space%tab Delimiter Character:
|
||||
DEFAULT_MACRO CSV2_OUT_WRITE_FIELD_NAMES_CSV2_1 firstrow
|
||||
CSV2_1_WRITE_FIELD_NAMES "$(CSV2_OUT_WRITE_FIELD_NAMES_CSV2_1)"
|
||||
DEFAULT_MACRO CSV2_OUT_ENCODING_GROUP_CSV2_1
|
||||
GUI OPTIONAL DISCLOSUREGROUP CSV2_OUT_ENCODING_GROUP_CSV2_1 CSV2_OUT_ENCODING_CSV2_1%CSV2_OUT_WRITE_BOM_FOR_UNICODE_CSV2_1 Encoding
|
||||
DEFAULT_MACRO CSV2_OUT_ENCODING_CSV2_1 UTF-8
|
||||
CSV2_1_ENCODING "$(CSV2_OUT_ENCODING_CSV2_1)"
|
||||
GUI STRING_OR_ENCODING CSV2_OUT_ENCODING_CSV2_1 fme-system%* Character Encoding:
|
||||
DEFAULT_MACRO CSV2_OUT_WRITE_BOM_FOR_UNICODE_CSV2_1 Yes
|
||||
CSV2_1_WRITE_BOM_FOR_UNICODE "$(CSV2_OUT_WRITE_BOM_FOR_UNICODE_CSV2_1)"
|
||||
GUI CHOICE CSV2_OUT_WRITE_BOM_FOR_UNICODE_CSV2_1 Yes%No Write Byte Order Mark for Unicode:
|
||||
DEFAULT_MACRO CSV2_OUT_ADVANCED_GROUP_CSV2_1
|
||||
GUI OPTIONAL DISCLOSUREGROUP CSV2_OUT_ADVANCED_GROUP_CSV2_1 FME_DISCLOSURE_CLOSED%CSV2_OUT_QUALIFY_FIELD_NAMES_CSV2_1%CSV2_OUT_QUALIFY_FIELD_VALUES_CSV2_1%CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1%CSV2_OUT_FIELD_QUALIFIER_CHARACTER_CSV2_1%CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER_CSV2_1%CSV2_OUT_ROW_TERMINATION_CSV2_1%CSV2_OUT_WRITE_SCHEMA_FILE_CSV2_1 Advanced
|
||||
DEFAULT_MACRO CSV2_OUT_QUALIFY_FIELD_NAMES_CSV2_1 if_needed
|
||||
CSV2_1_QUALIFY_FIELD_NAMES "$(CSV2_OUT_QUALIFY_FIELD_NAMES_CSV2_1)"
|
||||
GUI LOOKUP_CHOICE CSV2_OUT_QUALIFY_FIELD_NAMES_CSV2_1 Yes,yes%No,no%If<space>Needed,if_needed Qualify Field Names:
|
||||
DEFAULT_MACRO CSV2_OUT_QUALIFY_FIELD_VALUES_CSV2_1 if_needed
|
||||
CSV2_1_QUALIFY_FIELD_VALUES "$(CSV2_OUT_QUALIFY_FIELD_VALUES_CSV2_1)"
|
||||
GUI ACTIVECHOICE_LOOKUP CSV2_OUT_QUALIFY_FIELD_VALUES_CSV2_1 Yes,yes,CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1%No,no%If<space>Needed,if_needed,CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1 Qualify Field Values:
|
||||
DEFAULT_MACRO CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1 <Unused>
|
||||
CSV2_1_UNQUALIFIED_FIELD_VALUE_HANDLING "$(CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1)"
|
||||
GUI LOOKUP_CHOICE CSV2_OUT_UNQUALIFIED_FIELD_VALUE_HANDLING_CSV2_1 Remove<space>Unsafe<space>Characters,remove_unsafe%Preserve<space>Unsafe<space>Characters,preserve_unsafe Unqualified Field Value Handling:
|
||||
DEFAULT_MACRO CSV2_OUT_FIELD_QUALIFIER_CHARACTER_CSV2_1 <quote>
|
||||
CSV2_1_FIELD_QUALIFIER_CHARACTER "$(CSV2_OUT_FIELD_QUALIFIER_CHARACTER_CSV2_1)"
|
||||
GUI STRING_ENCODED CSV2_OUT_FIELD_QUALIFIER_CHARACTER_CSV2_1 Field Qualifier Character:
|
||||
DEFAULT_MACRO CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER_CSV2_1 <quote>
|
||||
CSV2_1_FIELD_QUALIFIER_ESCAPE_CHARACTER "$(CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER_CSV2_1)"
|
||||
GUI STRING_ENCODED CSV2_OUT_FIELD_QUALIFIER_ESCAPE_CHARACTER_CSV2_1 Field Qualifier Escape Character:
|
||||
DEFAULT_MACRO CSV2_OUT_ROW_TERMINATION_CSV2_1 System
|
||||
CSV2_1_ROW_TERMINATION "$(CSV2_OUT_ROW_TERMINATION_CSV2_1)"
|
||||
GUI CHOICE CSV2_OUT_ROW_TERMINATION_CSV2_1 System%Windows%Unix%Macintosh Row Termination:
|
||||
DEFAULT_MACRO CSV2_OUT_WRITE_SCHEMA_FILE_CSV2_1 NO
|
||||
CSV2_1_WRITE_SCHEMA_FILE "$(CSV2_OUT_WRITE_SCHEMA_FILE_CSV2_1)"
|
||||
GUI ACTIVEDISCLOSUREGROUP CSV2_OUT_WRITE_SCHEMA_FILE_CSV2_1 FME_DISCLOSURE_CLOSED%CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING_CSV2_1 Write Schema Configuration File
|
||||
DEFAULT_MACRO CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING_CSV2_1 <Unused>
|
||||
CSV2_1_EXISTING_SCHEMA_FILE_HANDLING "$(CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING_CSV2_1)"
|
||||
GUI CHOICE CSV2_OUT_EXISTING_SCHEMA_FILE_HANDLING_CSV2_1 Overwrite%Prepend Existing Schema File Handling:
|
||||
DEFAULT_MACRO CSV2_OUT_COORDINATE_SYSTEM_GRANULARITY_CSV2_1 FEATURE_TYPE
|
||||
CSV2_1_COORDINATE_SYSTEM_GRANULARITY "$(CSV2_OUT_COORDINATE_SYSTEM_GRANULARITY_CSV2_1)"
|
||||
# ============================================================================
|
||||
CSV2_1_GENERATE_FME_BUILD_NUM 21306
|
||||
CSV2_1_DATASET "$(DestDataset_CSV2_1)"
|
||||
#! END_DEST_HEADER
|
||||
#! START_WB_HEADER
|
||||
#! END_WB_HEADER
|
||||
#! END_HEADER
|
||||
|
||||
LOG_FILENAME "$(FME_MF_DIR)export_prefecture_liste_voies.log"
|
||||
LOG_APPEND NO
|
||||
LOG_FILTER_MASK -1
|
||||
LOG_MAX_FEATURES 200
|
||||
LOG_MAX_RECORDED_FEATURES 200
|
||||
FME_REPROJECTION_ENGINE FME
|
||||
FME_IMPLICIT_CSMAP_REPROJECTION_MODE Auto
|
||||
FME_GEOMETRY_HANDLING Enhanced
|
||||
FME_STROKE_MAX_DEVIATION 0
|
||||
FME_NAMES_ENCODING UTF-8
|
||||
DEFAULT_MACRO DATASET_KEYWORD_CSV2_1 CSV2_1
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
MULTI_READER_CONTINUE_ON_READER_FAILURE No
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
MACRO WORKSPACE_NAME export_prefecture_liste_voies
|
||||
MACRO FME_VIEWER_APP fmedatainspector
|
||||
DEFAULT_MACRO WB_CURRENT_CONTEXT
|
||||
# -------------------------------------------------------------------------
|
||||
MACRO SQLCreator_DIRECTIVES NAMED_CONNECTION bed110<at>redadeg_2021<at>redadeg
|
||||
FACTORY_DEF {*} CreationFactory FACTORY_NAME { SQLCreator_Creator } OUTPUT { FEATURE_TYPE _____CREATED______ }
|
||||
FACTORY_DEF {*} QueryFactory FACTORY_NAME { SQLCreator } INPUT FEATURE_TYPE _____CREATED______ QUERY_SQL { SELECT<lf><space><space>left<openparen>com.insee<comma>2<closeparen><space>as<space>dpt<comma><lf><space><space>com.insee<comma><space>com.nom<comma><lf><space><space>pk.pk_id<comma><space>pk.way_ref<space>as<space>voie_ref<comma><lf><space><space>CASE<lf><space><space><space><space>WHEN<space>way_name_fr<space>IS<space>NULL<space>THEN<space><apos><openparen>voie<space>non<space>d<u00e9>nomm<u00e9>e<closeparen><apos><lf><tab>ELSE<space>way_name_fr<lf><space><space>END<space>as<space>voie_nom<lf>FROM<space>phase_3_pk_auto<space>pk<comma><space>osm_communes<space>com<lf>WHERE<space>ST_Intersects<openparen>pk.the_geom<comma>com.the_geom<closeparen><lf>ORDER<space>BY<space>pk_id } COMBINE_ATTRIBUTES RESULT_ONLY COMBINE_GEOMETRY RESULT_ONLY READER_TYPE { POSTGRES } READER_DATASET { "bed110<at>redadeg_2021<at>redadeg" } READER_PARAMS { $(SQLCreator_DIRECTIVES) } QUERYFCT_PROPAGATE_IDS_ON_SQL_EXECUTE YES CONTINUE_ON_READER_ERROR YES OUTPUT { RESULT FEATURE_TYPE SQLCreator_RESULT @SupplyAttributes(fme_feature_type,SQLCreator) } OUTPUT { READER_ERROR FEATURE_TYPE SQLCreator_<REJECTED> }
|
||||
FACTORY_DEF * BranchingFactory FACTORY_NAME "SQLCreator_RESULT Brancher -1 5" INPUT FEATURE_TYPE SQLCreator_RESULT TARGET_FACTORY "$(WB_CURRENT_CONTEXT)_CREATOR_BRANCH_TARGET" MAXIMUM_COUNT None OUTPUT PASSED FEATURE_TYPE *
|
||||
DEFAULT_MACRO _WB_BYPASS_TERMINATION No
|
||||
FACTORY_DEF * TeeFactory FACTORY_NAME SQLCreator_<Rejected> INPUT FEATURE_TYPE SQLCreator_<REJECTED> OUTPUT FAILED FEATURE_TYPE * @Abort(ENCODED, SQLCreator<space>output<space>a<space><lt>Rejected<gt><space>feature.<space><space>To<space>continue<space>translation<space>when<space>features<space>are<space>rejected<comma><space>change<space><apos>Workspace<space>Parameters<apos><space><gt><space>Translation<space><gt><space><apos>Rejected<space>Feature<space>Handling<apos><space>to<space><apos>Continue<space>Translation<apos>)
|
||||
# -------------------------------------------------------------------------
|
||||
FACTORY_DEF * TeeFactory FACTORY_NAME "$(WB_CURRENT_CONTEXT)_CREATOR_BRANCH_TARGET" INPUT FEATURE_TYPE * OUTPUT FEATURE_TYPE *
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
FACTORY_DEF * RoutingFactory FACTORY_NAME "Destination Feature Type Routing Correlator" COMMAND_PARM_EVALUATION SINGLE_PASS INPUT FEATURE_TYPE * ROUTE FME_GENERIC SQLCreator_RESULT TO CSV2 __GO_TO_FINAL_OUTPUT_ROUTER__ multi_writer_id,0,<at>SupplyAttributes<openparen>ENCODED<comma>__wb_out_feat_type__<comma>ar_redadeg_prefecture<closeparen> GEOMETRY FEATURE_TYPE_ATTRIBUTE __wb_out_feat_type__ OUTPUT ROUTED FEATURE_TYPE * OUTPUT NOT_ROUTED FEATURE_TYPE __nuke_me__ @Tcl2("FME_StatMessage 818059 [FME_GetAttribute fme_template_feature_type] 818060 818061 fme_warn")
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
FACTORY_DEF * TeeFactory FACTORY_NAME "Final Output Nuker" INPUT FEATURE_TYPE __nuke_me__
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
CSV2_1_DEF ar_redadeg_prefecture csv_existing_file_handling Yes csv_write_field_names firstrow dpt string insee string nom string pk_id string voie_ref string voie_nom string
|
Loading…
Reference in a new issue