Questions tagged [geoapi]
20 questions
11
votes
5 answers
Random error: Attempted to read or write protected memory
We have a C# .Net application using WCF services. And the application is deployed in our production server under a Windows Service Application. One part of the module is responsible for creating shape files ((*.shp, *.dbf) for a smaller area the…

franklins
- 3,710
- 6
- 41
- 56
6
votes
1 answer
NettopologySuite and Dotspatial WKTReader
So I have a bunch of WKT representing a multi-polygon. I exclusively use DotSpatial to manipulate geometries. Specifically I'm trying to get a DotSpatial.Topology.IGeometry out of my WKT.
Unfortunately the DotSpatial guys recently moved a lot of…

Ed Kramer
- 131
- 1
- 12
4
votes
0 answers
SharpMap Selecting Geometry with GeoAPI.Geometries
hi there i'm trying to create a function that will select a layers geometry and change its colour or highlight it.
I've found the FindGeoNearPoint function but this deals with the old SharpMap.Geometries whih no longer exists and has been replaced…

psycho
- 1,539
- 4
- 20
- 36
3
votes
1 answer
'GeoAPI.Geometries.IGeometry' handled by 'NHibernate.Spatial.Type.GeometryType' is not Serializable
We're using several webapplications using NHibernate to connect to a PostGIS server.
Our log files are flooded with this warning:
the custom type 'GeoAPI.Geometries.IGeometry' handled by 'NHibernate.Spatial.Type.GeometryType' is not…

Paul Meems
- 3,002
- 4
- 35
- 66
1
vote
0 answers
How can I find the city with spaces or accents like in the documentation geo.api.gouv using vuejs and axios?
I use this API :
https://geo.api.gouv.fr/decoupage-administratif/communes
It works really good but the problem is that if I'm searching a city (commune) like : "Saint-Étienne" I have to write exactly "Saint-Étienne". I would like to find this city…

Sousou
- 11
- 2
1
vote
1 answer
API to find local business/place using phone number
Looking for an API that will give me a venue/place/local business based on a phone number as input. I checked out the google place/foursquare/simple geo API's but they don't seem to have this functionality. Any ideas?

aloo
- 5,331
- 7
- 55
- 94
1
vote
1 answer
NetTopologySuite squash multipolygon to polygon
I am working in aspnetcore using the most up to date GeoAPI and NetTopologySuite version for core. What I'm trying to do should be fairly simple but I can't seem to find the proper way to do it either through experimentation of googling. Or even…

Ed Kramer
- 131
- 1
- 12
1
vote
1 answer
SharpMap: Creating and editing geometry
I´m working in a project using sharpmap on this we're displaying information, but is necessary create and edit too. I have experience with presenting information but i need some advices with creating and editing.
I am working with 1.1.0 version of…
1
vote
1 answer
Get data from geoapi into google spreadsheets
I'm trying to get country name given the city, here's my formula for Warszawa:
=importxml("http://api.geonames.org/search?q=warszawa&maxRows=1&style=FULL&username=glebvk";"/geonames/geoname[1]/Countrycode")
I get "Error: Imported content is…

Gleb
- 215
- 1
- 4
- 10
0
votes
3 answers
I need some help getting data from an API call
I'm sure I'm just doing something stupid, but I can't figure out what I'm doing wrong.
When the user fills out their state and city and hits submit, that should run a fetch request for lat and lon values, then that needs to be fed into another API…
user20276841
0
votes
2 answers
Having difficulty displaying and centering map with user's location using W3C GeoLocation API
I'm using the following script and having difficulty passing in the lat and lon variables I created with user's location. When I remove the lat and lon variables I created and manually put in 0,0 it works fine for debugging's sake...The map should…

Alexa Green
- 1,153
- 4
- 14
- 21
0
votes
1 answer
GeoApiContext and DirectionsApiRequest not found
What dependencies are needed for these two classes to be used within my Android App? Below, is my current build.gradle file:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation…

Lorenzo Battilocchi
- 862
- 1
- 10
- 26
0
votes
1 answer
Using Mapsui, how do I create a new transformation class for coordinate system read from shapefile prj file?
How do I create a new transformation class compatible with MapSui.Projections.ITransformation interface using ProjNet4GeoAPI that reads the source coordindate system from a prj file.
From Mapsui source code, there is a MinimalTransformation that…

Gary Kindel
- 17,071
- 7
- 49
- 66
0
votes
1 answer
SharpMap WMTS / TMS Server implementation
Can anyone help me with the implementation of WMTS / TMS Server in SharpMap?
I've been trying out a lot from diff sources but I can't seem to come up with a working solution. Below is a handler I am using, it's just drawing the boxes instead of…

Takudzwa Mawarire
- 95
- 3
- 17
0
votes
1 answer
How to MQL query string into Tranlated URL?
http://api.geoapi.com/v1/q
My query: {"lat": 37.75629, "lon": -122.4213, "radius": "1km", "entity": [{"type": "business", "guid":…

David
- 2,103
- 3
- 21
- 29