Skip to content

Commit

Permalink
GEOMESA-3183 Change SFTs to use the "attributes" key instead of the d…
Browse files Browse the repository at this point in the history
…eprecated "fields" key
  • Loading branch information
adeet1 authored and elahrvivaz committed Jan 19, 2024
1 parent 56cf246 commit a491090
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/adsbx/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ geomesa {
"geomesa.indices.enabled" = "attr,z3"
"geomesa.table.sharing" = "false"
}
fields = [
attributes = [
{ name = "aircraft_Id" , type = "String" }
{ name = "Rcvr" , type = "Integer" }
{ name = "HasSig" , type = "Boolean" }
Expand Down
4 changes: 2 additions & 2 deletions geomesa-tools/conf/sfts/gdelt/reference.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
geomesa {
sfts {
gdelt = {
fields = [
attributes = [
{ name = globalEventId, type = String }
{ name = eventCode, type = String }
{ name = eventBaseCode, type = String }
Expand Down Expand Up @@ -38,7 +38,7 @@ geomesa {
}
}
gdelt2 = {
fields = [
attributes = [
{ name = GLOBALEVENTID , type = String }
{ name = SQLDATE , type = Integer }
{ name = MonthYear , type = Integer }
Expand Down
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/geolife/reference.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
geomesa {
sfts {
geolife = {
fields = [
attributes = [
{ name = "userId", type = "String" }
{ name = "trackId", type = "String" }
{ name = "altitude", type = "Double" }
Expand Down
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/geonames/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
geonames {
type-name = "geonames"
fields = [
attributes = [
{ name = "geonameId", type = "Integer", index = false },
{ name = "name", type = "String", index = true },
{ name = "asciiName", type = "String", index = false },
Expand Down
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/gtd/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ geomesa {
sfts {
gtd = {
type-name = "gtd"
fields = [
attributes = [
{ name = "event_id" , type = "String" , index = false }
{ name = "dtg" , type = "Date" , index = false }
{ name = "geom" , type = "Point" , index = true, srid = 4326 }
Expand Down
4 changes: 2 additions & 2 deletions geomesa-tools/conf/sfts/marinecadastre-ais/reference.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
geomesa {
sfts {
marinecadastre-ais = {
fields = [
attributes = [
{ name = "geom", type = "Point", srid = 4326 }
{ name = "sog", type = "Integer" }
{ name = "cog", type = "Integer" }
Expand All @@ -19,7 +19,7 @@ geomesa {
}
}
marinecadastre-ais-csv = {
fields = [
attributes = [
{ name = "geom", type = "Point", srid = "4326" }
{ name = "MMSI", type= "Integer" }
{ name = "BaseDateTime", type = "Date" }
Expand Down
4 changes: 2 additions & 2 deletions geomesa-tools/conf/sfts/nyctaxi/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
nyctaxi = {
type-name = "nyctaxi"
fields = [
attributes = [
{ name = "trip_id", type = String, index = true }
{ name = "medallion", type = Integer }
{ name = "hack_license", type = Integer }
Expand All @@ -19,7 +19,7 @@ geomesa {
// alternative: both pickup and dropoff points in a single feature
nyctaxi-single = {
type-name = "nyctaxi-single"
fields = [
attributes = [
{ name = "trip_id", type = String, index = true }
{ name = "medallion", type = Integer }
{ name = "hack_license", type = Integer }
Expand Down
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/osm-gpx/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
osm-gpx = {
type-name = "osm-gpx"
fields = [
attributes = [
{ name = trackId, type = String }
{ name = elevation, type = Double }
{ name = dtg, type = Date }
Expand Down
4 changes: 2 additions & 2 deletions geomesa-tools/conf/sfts/osm/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
"osm-nodes" = {
type-name = "osm-nodes"
fields = [
attributes = [
{ name = "user", type = "String" }
{ name = "tags", type = "String", json = "true" }
{ name = "dtg", type = "Date" }
Expand All @@ -15,7 +15,7 @@ geomesa {
}
"osm-ways" = {
type-name = "osm-ways"
fields = [
attributes = [
{ name = "user", type = "String" }
{ name = "name", type = "String" }
{ name = "tags", type = "String", json = "true" }
Expand Down
2 changes: 1 addition & 1 deletion geomesa-tools/conf/sfts/tdrive/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
tdrive = {
type-name = "tdrive"
fields = [
attributes = [
{ name = taxiId, type = String }
{ name = dtg, type = Date }
{ name = geom, type = Point, srid = 4326 }
Expand Down
4 changes: 2 additions & 2 deletions geomesa-tools/conf/sfts/twitter/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ geomesa {
sfts {
twitter = {
type-name = "twitter"
fields = [
attributes = [
{ name = user_id , type = String, index = true }
{ name = user_name , type = String }
{ name = text , type = String }
Expand Down Expand Up @@ -34,7 +34,7 @@ geomesa {
}
twitter-polygon = {
type-name = "twitter-polygon"
fields = [
attributes = [
{ name = user_id , type = String, index = true }
{ name = user_name , type = String }
{ name = text , type = String }
Expand Down

0 comments on commit a491090

Please sign in to comment.