migurski / paperwalking Goto Github PK
View Code? Open in Web Editor NEWLike walking, but with paper
Home Page: http://walking-papers.org
License: GNU General Public License v2.0
Like walking, but with paper
Home Page: http://walking-papers.org
License: GNU General Public License v2.0
Paperwalking is the codebase behind http://walking-papers.org. Copyright (C) 2009-2010, Michal Migurski <[email protected]> See INSTALL for a guide to installing Paperwalking. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. There are two main components here. 1. Site The user-facing website is written in PHP and MySQL, and has been developed to work adequately well in a commodity shared hosting environment, such as the Pair.com "webmaster" account I use to host Walking Papers. 2. Decoder The ugly math bits are done in an offline process that consumes a queue of freshly-scanned images from the main site, runs them through the image-recognition algorithm, and posts back georectified image tiles for editing. You can run a bunch of these in parallel to make jobs go faster, and they should be perfectly fine on small EC2 instances or a box plugged into plain old residential DSL. It's worth mentioning that the image recognition part of the work relies on a patented algorithm called SIFT: http://en.wikipedia.org/wiki/Scale-invariant_feature_transform
From talk-de (I have the contact email address):
Currently, Walking-Papers seems to use "Spherical Mercator" (the one
OSM, Google and the others use).
For regional topographical survey, it's better to use the UTM
projection instead. That would it make possible to do accurate
measurements of real world in meters and draw accurate angles
and values on paper.
The scanned images could be reprojected using GDAL-utilies to
Spherical Mercator.
I could give you technical support on this, since I've created
my paper maps that way before Walking-Papers appeared :-)
The zeitgeist page generates graphics using the google chart api. Strings for use in the legend are passed directly in the URL and are currently not translated.
Low priority, but non-translated strings are still a visual jolt on a localized site. Related to #40.
Possibly an option to increase transparency, to make it easier to write on layers like aerial imagery
For stupid reasons, this cloud be hard, but rewarding.
Hi,
I have a scan which is stuck at "Tiling and uploading". This is reproducible with the image-file in question. Uploading the same printout as a new printout with a higher resolution helped.
Stuck images (first scan):
Second scan of same printout which worked fine:
The ability to create a RSS-Feed for a specific area, that notifies me about new uploaded scans for this area. This would allow me to quickly recognize these scans and trace them.
These were done well in the Camp Roberts branch, but should maybe be supported inside the PDF itself.
It would be nice if the scans could be represented on a map like at www.openstreetphoto.org/map.html. Can I help by providing a php page that generates kml for a page like openstreetphoto based upon the bbox, retrieving the coords from a database?
When creating a print-out, it would be good if the map could be more up-to-date. Perhaps if on creating the scan, the site could query the API to re-download that area from OSM and re-render it on the fly. Since walking papers is usually used only for small areas at only 1 zoom level, the load should be minimal. I assumed that this is what the 'Redo' button would do but it still gives a map which is about a week old.
Date of composition on prints, date of scan on scans.
When I open the PDF from http://walking-papers.org/print.php?id=h387f6s3 or http://walking-papers.org/print.php?id=h9nx38zh the content is black. Is there an issue with Osmarender and Walking Papers?
Also on someone else's: lz8nzm2g
In order to ease the cost of entry, could the default language for the site on first visit be set based on the geolocation of the IP address? Country level encoding shouldn't be too hard, and users are already quite used to this behavior from sites like google and hotmail. If a translation exists for the primary language of a country, why not show it by default?
Similar to issue #29.
Standard OSM, NoName tiles, cycle map, and a drop-down list in the print composition form.
I've uploaded an image, scanned with ADF at 600 DPI, uploaded it at this size, but it's stuck on "Queued for processing". After some days I reupload it at half resolution ... this was yesterday ... still stuck in Queue.
Scan tv2skx34
It would create a better user experince if the dutch users get a map centerd on the Netherlands, the Germans on Germany etc.
While trying to translate the bit on the print page that offers this: "Is this map wrong, or out of date ?", I discovered the feature doesn't seem to be working at all. It just throws this error:
Give us a meaningful paper, not ""
Integration with Map Warper (http://warper.geothings.net/). Provides human checking on the warping from WP, and could generate things like KML and WMS for free.
Make sure the generated WP tiles can be stored locally rather than s3
useful for aerial imagery
Hello Michal!
Brilliant product you got there!
I am with the dutch stichting OpenGeo, doing a lot for the dutch openstreetmap community. We want to bring openstreetmap to the classroom and to me your product sounds excellent!
For this I am already starting to localize the tpl files. I also have a good function for you that checks a browser for the language and switches to internal language files based upon that language:
function localize($s) {
global $LANG;
global $messages;
if (isset($messages[$s])) {
return $messages[$s];
} else {
return $s;
}
}
function i18n($s) {
$LANG = $_SESSION['LANG'];
if (!isset($LANG) OR !isset($_SESSION['LANG'])) {
$LANG = split(",",$_SERVER["HTTP_ACCEPT_LANGUAGE"]);
$LANG = split("-",$LANG[0]);
$LANG = $LANG[0];
if ($LANG == "") {
$LANG = "en";
}
}
global $messages;
//if the language file does not exist, default to english
if (include_once 'i18n/'.$LANG.'.php'){
$_SESSION['LANG']=$LANG;
} else {
$LANG='en';
$_SESSION['LANG']=$LANG;
}
}
perhaps it is of some use.
I would like to know if I can help by localizing and if you have any particular ideas about how it should be done. Please let me know!
Got error "A temporary error has occured, please stand by. We will try to process your scan again shortly" while uploading scan (id: swbbc3fp) for print id 57dt3p2k. It's a valid jpg file.
Since 15 minutes the processing fails at step 4 (Finding needles) and starts from the beginning.
Like this:
"making it possible to link your users to a given place but still
giving them the option to decide whether it's right or not. Do any of
these ideas sound right?"
See "Walkingpapers: Direct Link" in email.
From talk-de:
Rendering of amenity=drinking_water
"It is likely, that people want to print more than one map-sheet. Doing this would be easier if your service would allow "jumping" to the sheet on the right side (or below) the current one. Maybe with a 5% overlap."
Steps to reproduce:
Result:
The application loads the http://walking-papers.org/compose.php page, which lists the following content:
Tried all the ws-compose host-ports, and none of them worked
Environment:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/8.10 (intrepid) Firefox/3.0.10
Possible based on Cloudmade style editor or custom OSM installation.
extend search area for qrcode.Test minimum resolution required, and work on parallax problems.
Maybe just a link on the main Walking Papers page to let people know they should try Field Papers instead?
Every scan I download is limited by 900 pixels. Such small images are unusable - I cannot read annotations drawn by users. Please, make it possible to get really large (as filename says) scans.
Move various place-specific columns into the database.
generate scans from WMS
make available as WMS
Sometimes when things got WRONG is when people most need a good error message in their own language. I ran across the die_with_code() function while looking for strings to translate. Some of them are to do with the server environment which probably doesn't matter much, but there seem to be a few user facing errors that can be generated. There is no clear way to translate these yet.
From talk-de:
Rendering of highway=path
"Additional layout options are also a definite possibility. They could take a form of some simple options: print whole-sheet, two-thirds-sheet, half-sheet, that sort of thing. I guess the language here might be something like 'leave room for written notes'."
From talk-de:
Rendering of oneway=yes
A3, A4? This could get crazy.
I recieved word from rullzer that the pdf output is not localized. Could you please provide some instructions?
"The standard rendering is fine, but others (like noname or Osmarender) would be very nice indeed. Especially as the rendering of squares (at least in my home town) doesn't seem to work: 49°56'40"N, 11°34'21"E at zoom level 17. (search for "Bayreuth" and go to the centre of the town. Where al the little alleys end in nowhere)"
Machine extraction of singlenums, or stickers, and provide API to query location. Another SMS based app could use this API to associate SMS messages with locations.
The various "nice_" functions in lib/output.php are hard coded with English output. This makes the various translations of the site awkwardly chopping with bits of English thrown in.
There is no clear structure there for how these phrases should be translated.
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.