Comments (3)
Can you please provide the file, because I successfully deserialize GeoJSON data in my apps without those properties.
from geojson.net.
The strange thing is that I also can deserialize it if I run code from the unit test, but it stops working when I'm running it from application... Here is the simplified version of string that I pass to the DeserializeObject method: "{"type":"FeatureCollection","totalFeatures":1,"features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"geometry_name":"GEOMETRY"}]}"
from geojson.net.
Hey,
Ok I found a problem and committed to git. The problem was as you suggested in the attribute but JSON.Net library handled it different in v5 vs v6, so when you tried in tests as they are in v5 everything worked.
from geojson.net.
Related Issues (20)
- how to "find a point" HOT 3
- Cannot use GeoJson.Net.Exceptions HOT 2
- .net core api does not deserialize correctly with default System.Text.Json library HOT 1
- How to get the area of a geometry? HOT 4
- Move serializers to a separate project and NuGet to support System.Text.Json in another project and NuGet HOT 5
- PolygonEnumerableConverter does not work HOT 2
- The library might not be aligned with the GeoJSON RFC 7946 standard HOT 3
- How to add altitude coordinates in Feature Collection then serialize to GeoJson
- Geometry is readonly HOT 4
- Incorrectly coupling to geographic coordinate systems HOT 4
- Target frameworks: why so many? HOT 3
- The supported version of the dependency Newtonsoft.Json has a High Severity Vulnerability. HOT 4
- Function to calculate the new coordinates from given base coordinates, along with a distance & a bearing? HOT 2
- Should `IGeometryObject` expose bounding box and CRS?
- Properties in root HOT 1
- Access all fields including Contexts
- NuGet stable release HOT 7
- Coordinates type doesn't parse properties HOT 3
- `CRS` member is no longer used (as per RFC)
- Get Feature Properties from inheritance object HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geojson.net.