aaronr / bboxfinder.com Goto Github PK
View Code? Open in Web Editor NEWHelper page for finding bbox values from a map to help with interaction with tools like gdal, leaflet, openlayers, etc.
Helper page for finding bbox values from a map to help with interaction with tools like gdal, leaflet, openlayers, etc.
The best test for this bug is when you draw a single box that encompasses all drawn features. The drawn box feature is on top of the bbox feature and it makes it visually confusing
Immediately after user clicks in projection box, they should see a dropdown list or some kind of interaction so they know this is an option box
It should also have a tool tip and title="" on element
The sprites have been added and @powersa is gonna get on making them the new buttons following the pattern in the Leaflet.draw tools.
https://github.com/aaronr/bboxfinder.com/blob/gh-pages/css/maps/images/bbox-sprites.png
Being able to use custom tiles would be really helpful
If possible, allow users to select how they wish to export bbox coordinates. For example if bbox is used in SQL query, usage format would be something like:
SELECT *
FROM logs
WHERE lat > 47.1152542
AND lat < 48.0326795
AND lng > -122.6954903
AND lng < -121.937685;
Would be interested to hear how other people use bboxes and if steps can be saved through formatting.
Write automated tests to make sure succeed parsing::
Adjust the 'create feature' sidebar to accept integers as coordinates when entering data in bbox format.
The console log says:
XMLHttpRequest cannot load http://a.tiles.mapbox.com/v3/reprojected.g9on3k93.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bboxfinder.com' is therefore not allowed access.
This is hella useful for me right now. I'm working on a nasty little home rolled tile rendering engine (making pseudo-natural style tilesets). Anyhow, your app is helpful. One thing that I'm always dealing with is figuring out the WGS84 bounds of a given tile.
I need to know Tile coords (z/x/y.png) to WGS84 and back to the corresponding tiles.
Here's a helpful site. When I have time, maybe I'll help out and add this functionality if you guys think this would make sense for your app.
http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/
Let's make the sidebar not make the map move when it moves
Le'ts also add some hot CSS transitions to the tiles
And like the one above. Create a textarea that takes WKT, geojson and other text forms of features and give bbox
Google Chrome, macOS, icons on buttons have shifted/moved.
how the hell do we do this
create a textrea. add geojson. let me see a bbox. what happens if the projection is wrong? who cares, make it look snappy
If you scroll past the 180th meridian in either direction the coordinates the longitude will provide values that are either < -180 or > 180.
Example: http://bboxfinder.com/#-21.281057,200.160255,-21.191774,200.285397
It would be great to have the option to enter coordinates of a bbox and see the bbox on the map.
Need to add in a way to have the user be able to select a different projection than spherical mercator for the output in the second column of the bbox's
It would be nice if you could also past the coordinates of a bbox without the brackets. Quite often I have the coordinates from a url request like this.
xMin,yMin,xMax,yMax
It is cool to see OpenStreetMap data being used. There is at least attempt to display attribution.
But it is completely hidden on smaller window size (likely also on mobile devices). It is also quite hidden be default while OpenStreetMap license requires it to be clearly visible (see https://www.openstreetmap.org/copyright )
not shown at all (and "click to show" is not a sufficient attribution)
When someone forks this repo and pushes commits into their fork, the get a warning email from Github:
The page build failed with the following error:
CNAME already taken: bboxfinder.com
For information on troubleshooting Jekyll see:
https://help.github.com/articles/using-jekyll-with-pages#troubleshooting
Thankfully this doesn't affect anything with the CNAME rights, but it's an avoidable error. @aaronr suggested this be fixed be reinstating the master
branch as the primary branch and hosting on gh-pages separately just on this repository. This removes the awesome tweak that the website is automatically updated on a merge or contributor commit, though.
Generate a distance based buffer around a feature and fit the bbox to the buffer.
On hover the new icons need a title set on the elements
run:
$ ogrinfo -so -al admin1.shp | grep Extent
take that and paste it and get bbox
Currently multipart GeoJSON and WKT are not supported because when L.Control.Draw throws draw:created
, draw:deleted
, draw:edited
events it will puke on these features. Figure out what's causing an upset stomach and fix it yo
Leaflet.Draw is unfortunately a dead project. We can replace with geoman-io https://github.com/geoman-io/leaflet-geoman which has similar functionality but is actively developed.
When a user comes to bbox:
seeing how we keep propagating the need for global variables, let's make this thing professional
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.