Git Product home page Git Product logo

publiclab / mapknitter Goto Github PK

View Code? Open in Web Editor NEW
266.0 266.0 211.0 104.46 MB

Upload your own aerial images, position (rubbersheet) them in a web interface over existing map data, and share via web or composite and export for print.

Home Page: http://mapknitter.org

License: GNU General Public License v3.0

Ruby 45.52% JavaScript 15.10% CSS 0.87% HTML 34.20% Shell 0.57% Makefile 0.16% SCSS 3.30% Dockerfile 0.28%
hacktoberfest

mapknitter's People

Contributors

alaxalves avatar anishshah101 avatar benweissmann avatar cesswairimu avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar divyabaid16 avatar edsonmendieta avatar faithngetich avatar govindjeevan avatar gr455 avatar grvsachdeva avatar icarito avatar igniteeng000 avatar justinmanley avatar jywarren avatar kaustubh-nair avatar keshavsethi avatar peculiare avatar rarrunategu1 avatar sagarpreet-chadha avatar sakshi-2412 avatar sashadev-sky avatar sidharthbansal avatar singhavs avatar stefannibrasil avatar uzay-g avatar vidurangaw avatar vladimirmikulic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapknitter's Issues

troubles exporting

I just tried exporting this edited map http://mapknitter.org/maps/vadi-asbestonim
and it seemed to do the job, it got stuck in warping 10-15. didn't move for a while, and at a certain moment I saw a message that said "ajax failed" that appeared for two seconds on the same line - warpping 10-15 (ajax failed) or something like that.

rdoc should be a dependency

I'm trying to get MapKnitter set up and ran into some issues. I tried to run rake --tasks but kept getting the following error:

rake aborted!
LoadError: no such file to load -- rdoc/task
/home/justin/prog/mapknitter/Rakefile:8
/home/justin/.rvm/gems/ruby-1.8.7-head/bin/ruby_executable_hooks:15
(See full trace by running task with --trace)

I was able to fix it by installing rdoc:

gem install rdoc

rdoc should be listed as a dependency in the README file. I'll add it at some point in the next few days and submit a pull request. I'm also looking in to using Bundler to make MapKnitter installation easier.

Let me know if there are specific version requirements for rdoc.

spam map descriptions

screen shot 2014-07-01 at 4 49 48 pm

Not map related comments, such as:
comment6, premature ejaculation gp, kaysnd, premature ejaculation ginseng, %]]], cheap viagra next day delivery, 0826, premature ejaculation hypnosis download, gznkyj, cheap viagra new zealand, zuflij, cheap viagra online usa, 6620, premature ejaculation prevention tips, 14979, premature ejaculation percentage, 8-]], premature ejaculation homeopathy treatment, 48420, premature ejaculation patient co uk, iicye, premature ejaculation information, ezvp, cheap viagra levitra cialis, lqhqt, premature ejaculation in teenagers, 36541, cheap viagra melbourne, 8-P, premature ejaculation medicine in india, jclu, cheap natural viagra, zel, premature ejaculation in men over 50, 516381, premature ejaculation lloyds pharmacy, %[[[,

Best browser & settings for MapKnitter? Kitty Currier to stewart

Kitty Currier
to stewart
Greetings,

I'm having problems using MapKnitter and am wondering if this is due to browser issues on my end, internet connectivity, or something else. I just created the user name "kapmappers" and started a map that currently has two images.

Using Chrome (v. 36.0.1985.125 m), when I open my map and click on the "edit" button, the tab hangs and eventually is killed by the browser. Using Firefox (v. 31.0) I was able to upload a couple images and manipulate them a bit, though MapKnitter seems to behave oddly (e.g. photos disappear unexpectedly, and I can't find them). This could be user error, but I suspect it's more, as when I tried to access MapKnitter from a different computer using the same two browsers, I couldn't get my map to open on either of them, at all.

Do you have any suggestions? Both computers I tried were connected via decently fast ethernet connections, so I don't think that would have caused my problems.

Thanks,
Kitty

Login consolidation

There are currently two places on the home page where users can login.

multiplelogins

The login link in the upper right-hand corner sends the user's auth request to the PublicLab OpenId server and then returns the user to the MapKnitter homepage once the user has successfully authenticated.

The login link the upper left-hand corner doesn't transmit the user's auth info to Public Lab, it's just a plain redirect to the PublicLab homepage. In addition, it doesn't bring the user back to where they started once authentication is complete. This is non-intuitive behavior.

The link in the upper right-hand corner is more recent (I did a bunch of work on it over the summer). As far as I can tell, it's superior to the old login link, except for anonymous login functionality (which it doesn't currently support).

We should port anonymous login to the new login form and then remove the old login form.

Base Layer Not displayinig

This is an issue for Amy Soyka:
her base layer isn't displaying. she's using:

CHROME VERSION
35.0.1916.153 m
OS VERSION
Windows NT: 6.1 SP1 (Windows 7)
mapknitter

annotation UI requests

Filing for @bronwen9
When adding annotation, it should be possible to

  1. have a bigger field for adding text
  2. prompt to add a picture or video, explain that it already has to be online somewhere, and give an example link format.
  3. once an annotation is saved, have an option to edit the annotation. Currently, it has to be deleted and a new one added.

embedding maps with annotations

I am trying to embed the map-knitter preview with the annotation tool.
I am also looking for a more simple way to embed the web viewer of the map (like the map-knitter preview) to the website, overlaid on GoogleMaps or OSM.
there two problems - when i press the web viewer button here: http://mapknitter.org/map/view/vadi-asbestonim , the page never loads, and when I try the open layers button, the page loads but the map is blank, this happens with other maps as well.
last thing - There is spam and a change of location in some maps - what can I do to change it? http://mapknitter.org/map/view/beit-safafa

export problem - no way to adjust resolution

I just tried to export the map Katamon-1946 and it exported half the image. I tried to reduce resolution for a new export, though anyway it wasn't high (~26), but the "adjust" button wasn't responding. well, it was responding but it didn't give me the option to adjust -

this is what I see when i press adjust:
screen shot 2014-07-14 at 7 08 37 pm

<1cm/px maps fail to export; rounding problem

As noted in email:
Thanks Jeff. Interesting issues in results from this try:
http://mapknitter.org/map/view/livermore-ca-test-with-pl-mobius-infragram-point-and-shoot-on-parrot-ar-drone-2-0
Exports as jpeg and webviewer seem null or empty.
Edit map initially shows locked set of images as displaced, but seem to line up if pan in the editable map window.
All, may be function of the very low altitude images. Can't zoom in more to place them better. I'll note this in GetHub, but may just be due to this extreme case.

separate title and URL fields in map creation

this will hopefully make for better URLs rather than automatically generating them. JavaScript could monitor changes to the title field and auto-fill the URL field, swapping "-" for spaces/punctuation and removing "and" and "the", but prompting the user to enter/edit/approve the final URL.

show "spiderweb" lines between auto-matched points in 2 overlapping images

if it's possible to identify matching interest points between two images, on the fly (client side would be AWESOME), then as someone drags an image, as it overlaps a neighboring image, the interface could try to find matches between the two images, and could draw spiderwebby red lines between possible matches, to help the user. It might even be possible to make those matches slightly "magnetic" if you know what I mean?

Upload modal to list uploaded images.

Should we have the upload modal show the list of uploaded images. This would be especially useful when there are a lot of images, providing info like locked, hidden or anything that would be relevant. Options to delete images could also be provided using the in the list.

Edit:
Comments from research note:

"Another thing is that as we transition to just showing all images for your viewport, rather than having people create a map which "contains" images, the list of images may just be those currently shown in your viewport, which could update whenever you move the viewport. This does complicate ordering (which then has to be ordered in relation to any nearby image... the order index numbering would have to contain all images globally in MapKnitter), but we can probably put off thinking too hard about that for the time being since I don't think we have someone working on ordering. Perhaps at that time, we'd allow you to order upon assembling a set of images to export, and store just local (not global) order in the Export record. Or, we could (gasp) use decimals for order, and just allow images to be ordered with near-infinite precision, never having to "run out of integers" when ordering, the way CSS breaks down. Perhaps we could use a rough starting order # based on extent, which maps global size to some initial order decimal." - jywarren

"As we get into the map annotations with embedded pictures/notes/audio, some sort of file management zone seems to become important. Maybe the map image zone isn't the place to play with that.
you'll have to sell me on the idea of only listing images in the current window area-- it sounds like a "bouncy" menu that will change as I move around the map and drive me kinda nuts with its rapid movement. I'm thinking of menus on phones that change between the time I think to touch them and when my finger gets there (think Google Maps suggestions). I understand that when people get to lots and lots of images in Mapknitter a "master list" may get a bit unwieldy. I think that can be manageable if the correspondence between image in map and image in list is maintained by highlighting images on the map when clicking on the list and vise versa." - mathew

Gsoc update link

no preview for maps

screen shot 2014-07-14 at 7 13 13 pm

many times i don't get preview for map, in the preview page in MapKnitter

easier way to move map's initial position

currently if you've placed an image or two, it's hard to move them to an entirely new place. Deleting them and moving, then re-starting can work, but the "named" map location may remain on the original place. This needs some thorough user interface thinking.

Upload vector data

A long requested feature has emerged again: the ability to upload KML or CSV files to mapknitter to really use it as a presentation / information synthesis platform. Case in point, Staten Island's North Shore Waterfront Conservancy.

second page of / paginated maps broken

@patcyole sez: I also got this when I tried to move to next page, going to page 3:

TypeError in Maps#index
Showing /home/warren/mapknitter2/app/views/maps/index.html.erb where line #62 raised:
wrong argument type nil (expected String)
Extracted source (around line #62):
59: | <%= map.location %>
60: 

61:

62: <%=raw truncate(markdown_to_html(map.description),:length =>200) %> 63: <% if !map.description %>no description<% end %> 64: 65:

Rails.root: /home/warren/mapknitter2 Application Trace | Framework Trace | Full Trace app/helpers/map_helper.rb:5:in `to_html' app/helpers/map_helper.rb:5:in `markdown_to_html' app/views/maps/index.html.erb:62:in `block in _app_views_maps_index_html_erb__2959561373103988946_28118360' app/views/maps/index.html.erb:41:in `_app_views_maps_index_html_erb__2959561373103988946_28118360' app/controllers/maps_controller.rb:11:in `index' Request Parameters: {"page"=>"3"} Show session dump Show env dump Response Headers: None

mapknitter2 issues screenshots images export_page_4

Displaying modal for uploads

Currently dropping images to map brings up the modal, should dropping images on the map just hide the upload interface(modal) and display them only in case of error occurred in file upload. Access to the upload interface can be provided with the same upload button showing the list of images.

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.