9

While evaluating different technology to represent an office floor plan (so, basically 3d geometry data and 2d representation), I came across many new javascript package for client side representation.

I see suggestion to use openlayers.org, but afraid may be most of the features are not useful to me. I currently thinking about rendering svg model using d3js.org.

  1. Is it worth the effort to learn openlayers? Would it make easier to render the floor plan from GeoJson?
  2. Is there any benefit in storing the floor plan (coordinates + Height, Width, Depth data ) in GeoJson. I plan to use MongoDB and heard it natively support geoJson .Or is it enough to store the data with custom structure (class). I don't know much about GeoJson, and not sure whether the data needs to be geospatial. All the examples I saw so far is related to maps and not for geometrical shapes.
bsr
  • 57,282
  • 86
  • 216
  • 316
  • 1
    I wish the person down voted care to reason it. For me it is a genuine qn to get a direction before invest time on huge libraries. – bsr May 30 '12 at 03:31
  • 1
    +1 seems like a proper SO question to me – doug May 30 '12 at 08:48
  • "I don't know anything about GeoJson, and not sure whether the data needs to be geospatial." is likely the reason why it got downvoted. If you don't know anything about something, go read up on it! – Derick May 30 '12 at 10:18
  • 1
    @Derick. I worded wrongly, and edited the post. I indeed read part of the spec and tried to find some example. But all of them were about map data. Though it can represent shapes, it in a different context with lot of other information (longitude, ..) which I may not need. – bsr May 30 '12 at 10:53
  • 5
    @bsr Well it's been almost 6 years. I'm in your shoes right now. Did you use GeoJSON for a floorplan? Did you use d3js? What was the result? – Biff MaGriff Apr 20 '18 at 22:28

0 Answers0