summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/fixtures/initial_geo-fr.json187
-rw-r--r--ishtar_common/models_common.py4
-rw-r--r--ishtar_common/tests.py2
3 files changed, 189 insertions, 4 deletions
diff --git a/ishtar_common/fixtures/initial_geo-fr.json b/ishtar_common/fixtures/initial_geo-fr.json
index ea244e0d0..514d9a9bf 100644
--- a/ishtar_common/fixtures/initial_geo-fr.json
+++ b/ishtar_common/fixtures/initial_geo-fr.json
@@ -28,7 +28,7 @@
"fields": {
"label": "RGF93 / Lambert-93",
"txt_idx": "lambert93",
- "comment": "",
+ "comment": "Projection: Lambert_Conformal_Conic False_Easting: 700000.0 False_Northing: 6600000.0 Central_Meridian: 3.0 Standard_Parallel_1: 44.0 Standard_Parallel_2: 49.0 Latitude_Of_Origin: 46.5 Linear Unit: Meter (1.0) Geographic Coordinate System: GCS_RGF_1993 Angular Unit: Degree (0.0174532925199433) Prime Meridian: Greenwich (0.0) Datum: D_RGF_1993 Spheroid: GRS_1980 Semimajor Axis: 6378137.0 Semiminor Axis: 6356752.314140356 Inverse Flattening: 298.257222101",
"available": true,
"order": 10,
"auth_name": "EPSG",
@@ -490,5 +490,190 @@
"auth_name": "EPSG",
"srid": 4559
}
+},
+{
+ "model": "ishtar_common.geobuffertype",
+ "fields": {
+ "label": "Incertitude",
+ "txt_idx": "incertitude",
+ "comment": "",
+ "available": true,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geobuffertype",
+ "fields": {
+ "label": "Rayon de collecte",
+ "txt_idx": "rayon-de-collecte",
+ "comment": "",
+ "available": true,
+ "order": 20
+ }
+},
+{
+ "model": "ishtar_common.geoorigintype",
+ "fields": {
+ "label": "Relev\u00e9 topographique",
+ "txt_idx": "releve-topographique",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geoorigintype",
+ "fields": {
+ "label": "Digitalisation de carte ancienne",
+ "txt_idx": "digitalisation-de-carte-ancienne",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geoorigintype",
+ "fields": {
+ "label": "Relev\u00e9 GPS",
+ "txt_idx": "releve-gps",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Limites commune",
+ "txt_idx": "town-limit",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Emprise de l'op\u00e9ration",
+ "txt_idx": "operation-area",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Centre de l'op\u00e9ration",
+ "txt_idx": "operation-center",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Limites de zone communale",
+ "txt_idx": "area-limit",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Emprise du site",
+ "txt_idx": "archaeologicalsite-area",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Centre du site",
+ "txt_idx": "archaeologicalsite-center",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Contour d'unit\u00e9 d'enregistrement",
+ "txt_idx": "contextrecord-outline",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Centre de l'unit\u00e9 d'enregistrement",
+ "txt_idx": "contextrecord-center",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Contour du mobilier d'origine",
+ "txt_idx": "basefind-outline",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Centre du mobilier d'origine",
+ "txt_idx": "basefind-center",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geodatatype",
+ "fields": {
+ "label": "Point mobilier",
+ "txt_idx": "point-mobilier",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
+},
+{
+ "model": "ishtar_common.geoprovidertype",
+ "fields": {
+ "label": "IGN",
+ "txt_idx": "france-ign",
+ "comment": "",
+ "available": true,
+ "parent": null,
+ "order": 10
+ }
}
]
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index aa644f35a..221fa3ede 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -2008,8 +2008,8 @@ class SpatialReferenceSystem(GeneralType):
srid = models.IntegerField(_("Authority SRID"))
class Meta:
- verbose_name = _("Spatial reference system")
- verbose_name_plural = _("Spatial reference systems")
+ verbose_name = _("Geographic - Spatial reference system")
+ verbose_name_plural = _("Geographic - Spatial reference systems")
ordering = (
"order",
"label",
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py
index 1ddc94cb2..dfae6c164 100644
--- a/ishtar_common/tests.py
+++ b/ishtar_common/tests.py
@@ -100,7 +100,7 @@ if settings.SELENIUM_TEST:
COMMON_FIXTURES = [
settings.ROOT_PATH + "../fixtures/initial_data-auth-fr.json",
settings.ROOT_PATH + "../ishtar_common/fixtures/initial_data-fr.json",
- settings.ROOT_PATH + "../ishtar_common/fixtures/initial_spatialrefsystem-fr.json",
+ settings.ROOT_PATH + "../ishtar_common/fixtures/initial_geo-fr.json",
settings.ROOT_PATH + "../ishtar_common/fixtures/initial_importtypes-fr.json",
]