Timeline for Configuring GeoTools to convert graphic objects to shapefiles without using filesystem?
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4, 2022 at 14:33 | vote | accept | Dylan | ||
May 3, 2022 at 13:15 | answer | added | Ian Turton | timeline score: 0 | |
Apr 25, 2022 at 12:10 | comment | added | Dylan | @IanTurton mind putting that into an actual answer? | |
Apr 22, 2022 at 21:00 | history | edited | PolyGeo♦ | CC BY-SA 4.0 |
deleted 213 characters in body; edited title
|
Apr 22, 2022 at 14:03 | comment | added | Ian Turton | You'll either need to write to disk or add functionality to the project. But best bet is not to use a shapefile, compressed geojson or gml would work much better in this situation | |
Apr 22, 2022 at 13:14 | history | edited | Dylan | CC BY-SA 4.0 |
added 178 characters in body
|
Apr 22, 2022 at 13:09 | comment | added | Dylan | For reasons that I cannot divulge, the design directed us to use ShapeFiles as a medium. A side-effect of this decision is that we cannot FTP/scp the files to the host system so we package the bytes into a packet and send it over the network. The issue then is, "why do we have to write the files to the disk?" If we have the contents in memory, then we can use them as-is OR dump it to an actual file. Seems the only option is dump it to a file? I was curious if there were settings or some other method to access the byte buffer before it was written to the filesystem and skip the filesystem step? | |
Apr 21, 2022 at 12:45 | comment | added | Ian Turton | Welcome to Geographic Information Systems! This seems like an XY problem - could you describe what you are trying to do as well as what you have tried so far. | |
Apr 21, 2022 at 12:44 | comment | added | Ian Turton |
the limit is java8 - and the reason it isn't done is because shapefiles are only designed to be stored on disk. If you need in memory then use a FeatureCollection which is designed for that
|
|
Apr 21, 2022 at 12:14 | comment | added | Vince | By definition, a shapefile is a filesystem-based entity. You need to use a streamable format. | |
Apr 21, 2022 at 12:11 | history | edited | Vince | CC BY-SA 4.0 |
naming
|
S Apr 21, 2022 at 12:04 | review | First questions | |||
Apr 21, 2022 at 12:52 | |||||
S Apr 21, 2022 at 12:04 | history | asked | Dylan | CC BY-SA 4.0 |