tile38 icon indicating copy to clipboard operation
tile38 copied to clipboard

Get all objects in database

Open anhtu91 opened this issue 4 years ago • 2 comments

Hi everyone, I have a small question. Is there any way or command to get all objects, which are defined in tile38 server? Thanks in advanced.

anhtu91 avatar Sep 30 '19 12:09 anhtu91

You can use the KEYS command to get all of the collection keys. And the use the SCAN key command on each collection to get all of the objects.

tidwall avatar Oct 05 '19 03:10 tidwall

You can use the KEYS command to get all of the collection keys. And the use the SCAN key command on each collection to get all of the objects.

Thank you, Tidwall. One more question, I want to get all object with type Polygon with command SCAN KEY. Is that possible?

anhtu91 avatar Oct 24 '19 11:10 anhtu91