diff options
| -rw-r--r-- | Makefile.example | 7 | ||||
| -rw-r--r-- | ishtar_common/fixtures/initial_spatialrefsystem-fr.json | 535 | 
2 files changed, 541 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example index d251155ed..516daadc5 100644 --- a/Makefile.example +++ b/Makefile.example @@ -166,7 +166,7 @@ fixtures_auth:  							auth.group \  	   > '../fixtures/initial_data-auth-'$(default_data)'.json' -fixtures_common: fixtures_common_importers fixtures_common_towns +fixtures_common: fixtures_common_importers fixtures_common_towns fixtures_spatialrefsystem  	cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \  							ishtar_common.authortype \  							ishtar_common.persontype \ @@ -195,6 +195,11 @@ fixtures_common_towns:  							ishtar_common.town \  	   > '../ishtar_common/fixtures/initial_towns-'$(default_data)'.json' +fixtures_spatialrefsystem: +	cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \ +		ishtar_common.SpatialReferenceSystem \ +		> '../ishtar_common/fixtures/initial_spatialrefsystem-'$(default_data)'.json' +  fixtures_operations:  	cd $(project); $(PYTHON) ./manage.py dumpdata --indent 4 \  							archaeological_operations.acttype \ diff --git a/ishtar_common/fixtures/initial_spatialrefsystem-fr.json b/ishtar_common/fixtures/initial_spatialrefsystem-fr.json new file mode 100644 index 000000000..99d16ea51 --- /dev/null +++ b/ishtar_common/fixtures/initial_spatialrefsystem-fr.json @@ -0,0 +1,535 @@ +[ +    { +        "pk": 35,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "ETRS89 / LAEA Europe",  +            "auth_name": "EPSG",  +            "srid": 3035,  +            "order": 201,  +            "txt_idx": "laea-europe" +        } +    },  +    { +        "pk": 34,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "ETRS89 / LCC Europe",  +            "auth_name": "EPSG",  +            "srid": 3034,  +            "order": 200,  +            "txt_idx": "lcc-europe" +        } +    },  +    { +        "pk": 14,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert Centre France",  +            "auth_name": "EPSG",  +            "srid": 27562,  +            "order": 31,  +            "txt_idx": "lambert-centre-france" +        } +    },  +    { +        "pk": 16,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert Corse",  +            "auth_name": "EPSG",  +            "srid": 27564,  +            "order": 33,  +            "txt_idx": "lambert-corse" +        } +    },  +    { +        "pk": 13,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert Nord France",  +            "auth_name": "EPSG",  +            "srid": 27561,  +            "order": 30,  +            "txt_idx": "lambert-nord-france" +        } +    },  +    { +        "pk": 15,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert Sud France",  +            "auth_name": "EPSG",  +            "srid": 27563,  +            "order": 32,  +            "txt_idx": "lambert-sud-france" +        } +    },  +    { +        "pk": 17,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert zone I",  +            "auth_name": "EPSG",  +            "srid": 27571,  +            "order": 34,  +            "txt_idx": "lambert-zone-i" +        } +    },  +    { +        "pk": 19,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert zone III",  +            "auth_name": "EPSG",  +            "srid": 27573,  +            "order": 36,  +            "txt_idx": "lambert-zone-iii" +        } +    },  +    { +        "pk": 18,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert zone II (Lambert II \u00e9tendu)",  +            "auth_name": "EPSG",  +            "srid": 27572,  +            "order": 35,  +            "txt_idx": "lambert-zone-ii" +        } +    },  +    { +        "pk": 20,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "NTF (Paris) / Lambert zone IV",  +            "auth_name": "EPSG",  +            "srid": 27574,  +            "order": 37,  +            "txt_idx": "lambert-zone-iv" +        } +    },  +    { +        "pk": 4,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC42",  +            "auth_name": "EPSG",  +            "srid": 3942,  +            "order": 11,  +            "txt_idx": "lambert-cc42" +        } +    },  +    { +        "pk": 5,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC43",  +            "auth_name": "EPSG",  +            "srid": 3943,  +            "order": 12,  +            "txt_idx": "lambert-cc43" +        } +    },  +    { +        "pk": 6,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC44",  +            "auth_name": "EPSG",  +            "srid": 3944,  +            "order": 13,  +            "txt_idx": "lambert-cc44" +        } +    },  +    { +        "pk": 7,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC45",  +            "auth_name": "EPSG",  +            "srid": 3945,  +            "order": 14,  +            "txt_idx": "lambert-cc45" +        } +    },  +    { +        "pk": 8,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC46",  +            "auth_name": "EPSG",  +            "srid": 3946,  +            "order": 15,  +            "txt_idx": "lambert-cc46" +        } +    },  +    { +        "pk": 9,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC47",  +            "auth_name": "EPSG",  +            "srid": 3947,  +            "order": 16,  +            "txt_idx": "lambert-cc47" +        } +    },  +    { +        "pk": 10,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC48",  +            "auth_name": "EPSG",  +            "srid": 3948,  +            "order": 17,  +            "txt_idx": "lambert-cc48" +        } +    },  +    { +        "pk": 11,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC49",  +            "auth_name": "EPSG",  +            "srid": 3949,  +            "order": 18,  +            "txt_idx": "lambert-cc49" +        } +    },  +    { +        "pk": 12,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / CC50",  +            "auth_name": "EPSG",  +            "srid": 3950,  +            "order": 19,  +            "txt_idx": "lambert-cc50" +        } +    },  +    { +        "pk": 3,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGF93 / Lambert-93",  +            "auth_name": "EPSG",  +            "srid": 2154,  +            "order": 10,  +            "txt_idx": "lambert93" +        } +    },  +    { +        "pk": 37,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGFG95 / UTM zone 22N (Guyane)",  +            "auth_name": "EPSG",  +            "srid": 2972,  +            "order": 300,  +            "txt_idx": "utm-guyane" +        } +    },  +    { +        "pk": 40,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGM04 / UTM zone 38S (Mayotte)",  +            "auth_name": "EPSG",  +            "srid": 4471,  +            "order": 330,  +            "txt_idx": "utm-mayotte" +        } +    },  +    { +        "pk": 38,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGR92 / UTM zone 40S (La R\u00e9union)",  +            "auth_name": "EPSG",  +            "srid": 2975,  +            "order": 310,  +            "txt_idx": "utm-reunion" +        } +    },  +    { +        "pk": 39,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RGSPM06 / UTM 21N (St-Pierre-et-Miquelon)",  +            "auth_name": "EPSG",  +            "srid": 4467,  +            "order": 320,  +            "txt_idx": "utm-miquelon" +        } +    },  +    { +        "pk": 41,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "RRAF 1991 / UTM zone 20N (Guadeloupe et Martinique)",  +            "auth_name": "EPSG",  +            "srid": 4559,  +            "order": 340,  +            "txt_idx": "utm-guadeloupe" +        } +    },  +    { +        "pk": 2,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "Syst\u00e8me local (non r\u00e9f\u00e9renc\u00e9)",  +            "auth_name": "EPSG",  +            "srid": 0,  +            "order": 1,  +            "txt_idx": "local" +        } +    },  +    { +        "pk": 1,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS84 (lat-long)",  +            "auth_name": "EPSG",  +            "srid": 4326,  +            "order": 2,  +            "txt_idx": "wgs84" +        } +    },  +    { +        "pk": 21,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 28N",  +            "auth_name": "EPSG",  +            "srid": 32628,  +            "order": 128,  +            "txt_idx": "utm-28n" +        } +    },  +    { +        "pk": 22,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 29N",  +            "auth_name": "EPSG",  +            "srid": 32629,  +            "order": 129,  +            "txt_idx": "utm-29n" +        } +    },  +    { +        "pk": 23,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 30N",  +            "auth_name": "EPSG",  +            "srid": 32630,  +            "order": 130,  +            "txt_idx": "utm-30n" +        } +    },  +    { +        "pk": 24,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 31N",  +            "auth_name": "EPSG",  +            "srid": 32631,  +            "order": 131,  +            "txt_idx": "utm-31n" +        } +    },  +    { +        "pk": 25,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 32N",  +            "auth_name": "EPSG",  +            "srid": 32632,  +            "order": 132,  +            "txt_idx": "utm-32n" +        } +    },  +    { +        "pk": 26,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 33N",  +            "auth_name": "EPSG",  +            "srid": 32633,  +            "order": 133,  +            "txt_idx": "utm-33n" +        } +    },  +    { +        "pk": 27,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 34N",  +            "auth_name": "EPSG",  +            "srid": 32634,  +            "order": 134,  +            "txt_idx": "utm-34n" +        } +    },  +    { +        "pk": 28,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 35N",  +            "auth_name": "EPSG",  +            "srid": 32635,  +            "order": 135,  +            "txt_idx": "utm-35n" +        } +    },  +    { +        "pk": 29,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 36N",  +            "auth_name": "EPSG",  +            "srid": 32636,  +            "order": 136,  +            "txt_idx": "utm-36n" +        } +    },  +    { +        "pk": 30,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 37N",  +            "auth_name": "EPSG",  +            "srid": 32637,  +            "order": 137,  +            "txt_idx": "utm-37n" +        } +    },  +    { +        "pk": 31,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 38N",  +            "auth_name": "EPSG",  +            "srid": 32638,  +            "order": 138,  +            "txt_idx": "utm-38n" +        } +    },  +    { +        "pk": 32,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 39N",  +            "auth_name": "EPSG",  +            "srid": 32639,  +            "order": 139,  +            "txt_idx": "utm-39n" +        } +    },  +    { +        "pk": 33,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / UTM zone 40N",  +            "auth_name": "EPSG",  +            "srid": 32640,  +            "order": 140,  +            "txt_idx": "utm-40n" +        } +    },  +    { +        "pk": 36,  +        "model": "ishtar_common.spatialreferencesystem",  +        "fields": { +            "comment": "",  +            "available": true,  +            "label": "WGS 84 / World Mercator",  +            "auth_name": "EPSG",  +            "srid": 3395,  +            "order": 250,  +            "txt_idx": "wgs84-mercator" +        } +    } +]
\ No newline at end of file  | 
