Questions tagged [go]

Go is an open source programming language initially developed at Google. It is statically-typed, with a syntax loosely derived from C, adding automatic memory management, type safety, some dynamic typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

Find closest points using S2, given point and radius

I'm trying to use the go s2 package to find closest points, given a point and a radius (meters). I'm modeling my alg. after dynamodb-geo.js as I'm storing my points in DyanmoDB. I can't seem to get ...
0
votes
1answer
617 views

Inserting Point into PostGIS geometry column from golang?

I have this go code to insert data in to postgresql: sqlStatement := ` INSERT INTO my_table ( column_name, geog) VALUES ($1, ST_GeomFromText('Point($2 $3)')) ` and then _, err = db....
2
votes
1answer
379 views

Check if a point is inside a polygon from .shp file

I'm trying to build an application that will resolve the corresponding "region" of a point. So basically if a lat-lng point is inside Polygon-A or Polygon-B. I have all the files (I hope at least), a ...