Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanb committed Dec 23, 2023
1 parent 54ee6b1 commit 3ea002c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions gursShp2geoJson.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ func processRecord(shapeReader *shp.Reader) (*geojson.Feature, string, string) {
10 D_OD D 8 Datum veljavnosti
11 DV_OD D 8 Datum vnosa v bazo
12 STATUS C 1 Status veljavnosti zapisa (V – veljavno stanje)
13 CEN_E ali Y_C N 6.0 E (D96/TM) ali Y (D48/GK) koordinata centroida hišne številke
14 CEN_N ali X_C N 6.0 N (D96/TM) ali X (D48/GK) koordinata centroida hišne številke
13 CEN_E ali Y_C N 6.0 E (D96/TM) ali Y (D48/GK) koordinata centroida hišne številke
14 CEN_N ali X_C N 6.0 N (D96/TM) ali X (D48/GK) koordinata centroida hišne številke
*/
labela := shapeReader.Attribute(4)

Expand Down
20 changes: 10 additions & 10 deletions gursShp2geoJson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@ func assertBetween(t *testing.T, testedValue, lowBound, upperBound int) {
}

/*
func TestAll(t *testing.T) {
ReadLookups()
ProcessOne("data/temp/HS-epsg4326/HS-epsg4326.shp")
}
func BenchmarkAll(b *testing.B) {
b.ReportAllocs()
ReadLookups()
for n := 0; n < b.N; n++ {
func TestAll(t *testing.T) {
ReadLookups()
ProcessOne("data/temp/HS-epsg4326/HS-epsg4326.shp")
}
}
func BenchmarkAll(b *testing.B) {
b.ReportAllocs()
ReadLookups()
for n := 0; n < b.N; n++ {
ProcessOne("data/temp/HS-epsg4326/HS-epsg4326.shp")
}
}
*/
func BenchmarkReadShapefile(b *testing.B) {
if testing.Short() {
Expand Down

0 comments on commit 3ea002c

Please sign in to comment.