Skip to content

Commit

Permalink
Switch from using GEOM column to E and N columns
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKarlas committed Aug 12, 2023
1 parent cb1667e commit 7210775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsmGursBuildingImport/GursData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void LoadAddresses(string dir)
{
var buildingId = ConvertToOldGursBuildingId(csvAddresses.GetInt64("EID_STAVBA"));
var id = ConvertToOldGursAddressId(csvAddresses.GetInt64("EID_HISNA_STEVILKA"));
var geom = wktReader.Read(csvAddresses.GetString("GEOM"));
var geom = new Point(csvAddresses.GetDouble("E"), csvAddresses.GetDouble("N"));
geom.Apply(D96Converter.Instance);//Convert from D96 to OSM coordinate system
var houseNumber = csvAddresses.GetString("HS_STEVILKA") + csvAddresses.GetString("HS_DODATEK");
var streetName = new BilingualName(OverrideString(streetNameOverride, csvAddresses.GetString("ULICA_NAZIV")), OverrideString(streetNameSecondaryLanguageOverride, csvAddresses.GetString("ULICA_NAZIV_DJ")));
Expand Down

0 comments on commit 7210775

Please sign in to comment.