Giter Club home page Giter Club logo

Comments (4)

tidwall avatar tidwall commented on May 11, 2024

Hi @Ray93
It looks like this is an issue with Tile38. I found the root of the problem. I'll post a fix right away.

from tile38.

tidwall avatar tidwall commented on May 11, 2024

I pushed a fix to master.

Try this query

within city object {"type":"Polygon","coordinates":[[[-111.9787,33.4411],[-111.8902,33.4377],[-111.8950,33.2892],[-111.9739,33.2932],[-111.9787,33.4411]]]}

Please let me know if this doesn't work for you.

Thanks for your help!

from tile38.

Ray93 avatar Ray93 commented on May 11, 2024

it does work well for me, it did miss object key,thank for your help!
And i have another two problems.
one is how to add data using set command by batch, and can set command use websocket protocol?.
And the other is how to log in the background when the server starts.
can you give me some advice,thank u!

from tile38.

tidwall avatar tidwall commented on May 11, 2024

I'm glad to hear that your query is working.

For batches I recommend using one of the clients, not HTTP or websockets. HTTP is more for system administration such as running from a bash script with curl. The websocket protocol is really only useful when connecting to Geofences and live searches.

After choosing a client, make a single connection to the Tile38 server. Then do multiple SET commands for each object in the batch. Finally close the connection.

As for logging in the background you should use upstart, systemd, launchd, daemontools, supervisord, or runit. Which ever is best suited for your Linux environment.

Is hope this is helpful. Please let me know if you have any further questions. Thanks!

from tile38.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.