question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide mapping for `Envelope`

See original GitHub issue

When I use NetTopologySuite.Geometries.Envelope in my model, and generate a migration, I get: The entity type 'Envelope' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'. I was able to successfully use other geometry types such as Point and Polygon. It seems then that Envelope is simply not mapped.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
fromm1990commented, May 28, 2020

I agree that a dirty hack to solve this problem is not desired either. The two questions was simply due to my lack of knowledge on the internals of Npgsql.

If no binary read/write format for box2d exists I believe it’s not intentional https://lists.osgeo.org/pipermail/postgis-devel/2015-May/024905.html (note this is from 2015).

0reactions
rojicommented, May 28, 2020

Yeah, you’re right that this seems to be the case. It may be a good idea to at least send them a message to let them know this is needed…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create an Envelope with a Data Mapping
To use a Data Mapping in SharePoint Online to create an envelope: Select a SharePoint List item. Select Use a Template from the...
Read more >
Map Envelope - Letter Writers Alliance - TypePad
A new way to say "Wish you were here" inspired by the technological prowess of Google Maps. Conceived by artist Beste Miray Dogan...
Read more >
DIY: Map Envelopes
You'll need maps or map patterned paper, the free envelope template provides, scissors and gl… More like this.
Read more >
Create Your Own Google “Map Envelope”
The Map Envelope site lets you select a location, then generates a printable envelope with a Google Maps image of the map location...
Read more >
Map Envelopes
Get Map envelopes from Zazzle. We have a huge variety of designs for you to choose from as well as a large range...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found