Open lbaenar opened 3 years ago
are the created configuration files the same?
I do not understand exactly the question, but I used the same geopackage. I checked the mapserver definition and they were exactly the same except " CONNECTION "host=localhost" I tried to change it in the production platform but it is still not running.
To confirm yes I meant the mapserver definition which is the configuration file automatically created when you upload data to the platform.
Understood that the data is the same, wanted to know if the configuration that was created automatically was the same too; especially the styling, but you confirm it is so, will need someone who has eyes on the system to help you further
Yes, the configuration file is the same. Please find attached the geopackage including some layers in order to try to upload the layer "pilots_wp5_3034" and couple it to tactic_preview map (in production, not in test environment). I would like to know if it happens only to me. The corresponding metadata are: https://egdi.geology.cz/record/basic/60e2c925-f428-4b24-b63a-77f40a010833
Thank you in advance. Pilots_WP5_Del5.zip
I tried on production with your geopackage and it doesn't work for me (uploads but no preview), just like you have shown.
I do find it odd that the automatically created style appears to be for points, not polygons
CLASS
STYLE
SYMBOL "circle"
SIZE 2
COLOR 255 0 0
OPACITY 100
END
TEXT "[pilotname]"
LABEL
FONT arialbold
TYPE TRUETYPE
SIZE 8
OUTLINECOLOR 175 175 175
COLOR 0 0 0
POSITION uc # upper-center
END
END
Thank you James,
I realised that the simbol is "circle" but it also appeared in test and also in other poligons layers such as "wp4_pilot_sites" (check it in tactic_preview map):
STYLE
SYMBOL "circle"
SIZE 2
COLOR 229 168 255
OPACITY 100
END
LABEL
FONT arialbold
TYPE TRUETYPE
SIZE 8
OUTLINECOLOR 175 175 175
COLOR 0 0 0
POSITION uc # upper-center
END
END
PROJECTION
"init=epsg:4326"
END
END
This morning I changed the color and opacity in the layer "tactic_wp5_pilot_descript" and it was displayed, but the problem continues for other layers ("pilots_oropesa".
I tried with another geopackage (r2r-test_20210923_115611.gpkg from geoconnect3d ~ https://github.com/GeoEra-GIP/Project-Support-WP8/issues/469) and I have a similar experience, a default style is created with circle this time for a line type, but no preview maps shows
And somebody knows what is the problem? I need to solve it asap because my contract in the Spanish Geological Survey ends tomorrow and I do not know if I be back soon.
Thank you in advance. Best regards, Leticia.
Now with a better understanding of the EGDI architecture, I can say that if you upload a GeoPackage with a style attached, you CANNOT then edit the map file layer configuration to change the style; the style applied to the layer is the style of the SLD.
The Style information that appears in the map file IS NOT a MapServer equivalent of the SLD; it's just some dummy code.
You can't edit (or view) the SLD as it has been uploaded by EDGI (stored in the EGDI database)
If the style isn't applied, or if you want to change the styling, you must change the style in the GeoPackage and reupload, OR reupload the data without a style and edit the style information in the map file layer configuration, OR create a new layer using the original data source.
The SLD is stored in the map_layer table (in the sld_style field). But this cannot be seen or altered from the administration module.
Fra: James Passmore @.> Sendt: 8. februar 2024 16:41 Til: GeoEra-GIP/Project-Support-WP8 @.> Cc: Martin Hansen @.>; Assign @.> Emne: Re: [GeoEra-GIP/Project-Support-WP8] EDGI webmap display (#562)
Now with a better understanding of the EGDI architecture, I can say that if you upload a GeoPackage with a style attached, you CANNOT then edit the map file layer configuration to change the style; the style applied to the layer is the style of the SLD.
The Style information that appears in the map file IS NOT a MapServer equivalent of the SLD; it's just some dummy code.
You can't edit (or view) the SLD as it has been uploaded by EDGI (stored in the EGDI database)
If the style isn't applied, or if you want to change the styling, you must change the style in the GeoPackage and reupload, or reupload the data without a style and edit the style information in the map file layer configuration, or create a new layer using the original data source.
— Reply to this email directly, view it on GitHubhttps://url12.mailanyone.net/scanner?m=1rY6Wb-00042O-5o&d=4%7Cmail%2F90%2F1707406800%2F1rY6Wb-00042O-5o%7Cin12e%7C57e1b682%7C15209072%7C14343128%7C65C4F61DA063F61BD57D042F89DCAD54&o=%2Fphti%3A%2FgtsmbthGco%2Fu.Ireo%2F-GPEa-jPructSoePrpp%2F-W8ot5uis2s%2F6seos%23imecmsu4-en9933t13276&s=OHeZSqYyTNALCtwOq6Gzi9Sl0KI, or unsubscribehttps://url12.mailanyone.net/scanner?m=1rY6Wb-00042O-5o&d=4%7Cmail%2F90%2F1707406800%2F1rY6Wb-00042O-5o%7Cin12e%7C57e1b682%7C15209072%7C14343128%7C65C4F61DA063F61BD57D042F89DCAD54&o=%2Fphti%3A%2Fgtsmbthnco%2Fu.tfotocaiiibunscsus%2Fnteri%2Fauhb-I5AQZUPHBEHTUNSAVJGIZYUZATWPTSEFVC7M52NSI2KEJ5DOHUNZSWX7NSCCXJTNZNZK2OZ5KDOW2LNWTTOQQOJG5CINZTQXGZSR&s=aH0OYH40Shyrdj9n0noJsNHDfu8. You are receiving this because you were assigned.Message ID: @.***>
Is the SLD stored with no changes?
I think so but haven’t tested that yet.
Fra: James Passmore @.> Sendt: 9. februar 2024 10:06 Til: GeoEra-GIP/Project-Support-WP8 @.> Cc: Martin Hansen @.>; Assign @.> Emne: Re: [GeoEra-GIP/Project-Support-WP8] EDGI webmap display (#562)
Is the SLD stored with no changes?
— Reply to this email directly, view it on GitHubhttps://url12.mailanyone.net/scanner?m=1rYMpu-0001Vb-5v&d=4%7Cmail%2F90%2F1707469200%2F1rYMpu-0001Vb-5v%7Cin12h%7C57e1b682%7C15209072%7C14343128%7C65C5EB0A460C86CEE098B3E596981649&o=%2Fphti%3A%2FgtsmbthGco%2Fu.Ireo%2F-GPEa-jPructSoePrpp%2F-W8ot5uis2s%2F6seos%23imecmsu5-en6935t19521&s=rflcfd5xmpQmUdpgYHcx6XT2_xc, or unsubscribehttps://url12.mailanyone.net/scanner?m=1rYMpu-0001Vb-5v&d=4%7Cmail%2F90%2F1707469200%2F1rYMpu-0001Vb-5v%7Cin12h%7C57e1b682%7C15209072%7C14343128%7C65C5EB0A460C86CEE098B3E596981649&o=%2Fphti%3A%2Fgtsmbthnco%2Fu.tfotocaiiibunscsus%2Fnteri%2Fauhb-Z5AQXUOSBEZGHH4IHUL7IYK6AXRJDSEFVC7M52NSI2KEJ5DOHUNZSWX7NSCCXJTNZNZK2OZ5KDOW2LNWTTOQUOJG5CUM2TQSG4MJ&s=ySs8r35qRJR7mMoGwHILjMnROaU. You are receiving this because you were assigned.Message ID: @.***>
The attribute name specified in <ogc:PropertyName>
for an SLD is case sensitive, so if no changes are made to the SLD, but changes are made to the name of the attribute columns in the data uploaded, the intended style won't be applied.
I have a problem with the production EDGI platform. The same geopackage in the test map it is displayed correctly but when I upload it in the production the poligons are not shown in the map neither in the preview when the dataset is uploaded.
Find below the link to the test and production webmap and a screenshoot of the preview.
https://egditest01.geus.dk/egdi/?mapname=tactic_preview#baslay=baseMapGEUS&extent=-4900360,-1322170,12046200,6183440&layers=pilots_wp5_3034
https://data.geus.dk/egdi/?mapname=tactic_preview#baslay=baseMapGEUS&extent=-4948200,-1438000,11998360,6067610&layers=pilots_wp5_3034