@@ -890,69 +890,24 @@ ${JSON.stringify(samples_combined, null, 2)}
890890 - Example: PKAP Survey Area - 15,446 events across 544 different coordinates
891891 - Poggio Civitate - 29,985 events across 11,112 coordinates
892892
893- ### Proposed Enhancement
894-
895- ** Visual differentiation by semantic role** :
896-
897- ``` javascript
898- // Color coding
899- const styles = {
900- sample_location_only: { color: ' #2E86AB' , size: 3 }, // Blue - field collection points
901- site_location_only: { color: ' #A23B72' , size: 6 }, // Purple - administrative markers
902- both: { color: ' #F18F01' , size: 5 } // Orange - dual-purpose
903- };
904- ```
905-
906- ** UI Controls** :
907- ```
908- ☑ Show sample locations (precise field data - Path 1)
909- ☑ Show site locations (administrative site markers - Path 2)
910- ☐ Highlight overlap points only (10,346 dual-purpose geos)
911- ```
912-
913- ** Implementation - Classification Query** :
914-
915- ``` sql
916- -- Classify geos by usage type
917- WITH geo_classification AS (
918- SELECT
919- geo .pid ,
920- geo .latitude ,
921- geo .longitude ,
922- MAX (CASE WHEN e .p = ' sample_location' THEN 1 ELSE 0 END) as is_sample_location,
923- MAX (CASE WHEN e .p = ' site_location' THEN 1 ELSE 0 END) as is_site_location
924- FROM nodes geo
925- JOIN nodes e ON (geo .row_id = e .o [1 ])
926- WHERE geo .otype = ' GeospatialCoordLocation'
927- GROUP BY geo .pid , geo .latitude , geo .longitude
928- )
929- SELECT
930- pid,
931- latitude,
932- longitude,
933- CASE
934- WHEN is_sample_location = 1 AND is_site_location = 1 THEN ' both'
935- WHEN is_sample_location = 1 THEN ' sample_location_only'
936- WHEN is_site_location = 1 THEN ' site_location_only'
937- END as location_type
938- FROM geo_classification
939- ```
940-
941- ### Benefits
893+ ### Benefits of Current Implementation
942894
9438951 . ** Educational** : Makes Path 1 vs Path 2 distinction visually concrete
944896 - Users can SEE the semantic difference between precise and administrative locations
897+ - Blue points show where samples were actually collected (Path 1)
898+ - Purple points show administrative site markers (Path 2)
945899 - Demonstrates the complementary nature of the two geographic paths
946900
947- 2 . ** Exploratory** : Enables focused spatial queries
948- - "Show me archaeological sites in Turkey" → filter to ` site_location_only `
949- - "Where were samples actually collected?" → filter to ` sample_location_only `
950- - "Which locations serve dual purposes?" → show ` both ` category
901+ 2 . ** Exploratory** : Enables visual understanding of spatial patterns
902+ - Archaeological sites appear as purple markers (large points)
903+ - Field collection points appear as blue markers (small points)
904+ - Dual-purpose locations appear as orange markers (medium points)
905+ - No UI filters required - the colors provide immediate visual differentiation
951906
952- 3 . ** Analytical** : Reveals site spatial structure
907+ 3 . ** Analytical** : Reveals site spatial structure at a glance
953908 - Compact sites: tight cluster of blue points around purple marker
954909 - Survey areas: purple marker with cloud of blue points spread across region
955- - Identifies sampling strategies and field methodologies
910+ - Identifies sampling strategies and field methodologies by visual inspection
956911
957912### Advanced Features (Future)
958913
0 commit comments