HN user

gentile

48 karma
Posts2
Comments13
View on HN
Organic Maps 18 days ago

I've been making some custom maps for both Osmand and Comaps. The main big positive for Comaps I've seen is Android Auto being available freely (but you have osmand+ so moot point). But having used both, the tooling for osmand is far more mature. Creating an obf file (osmand file type) is a lot easier than the process for an mwm file (comaps file type). Far more routing or ui customization options in osmand and routing.xml files for even more advanced custom time penalties/weighting profiles.

Consider balling up some electrical tape underneath the Ram stick. This solved this very specific issue with my laptop that was flexing too much and crashing.

Download osm data, extract roads and surveillance, gpd overlay how=difference, remove/edit the different osmid's, write to pbf file, convert to obf file w/ osmandmapcreator, import into OsmAnd.

Now you have turn by turn navigation around ALPRs on your phone.

Edit: link https://github.com/pickpj/Big-B-Router - I tend to find ALPRs that are missing in the OSM data, so keep on updating OSM data.

To add, a bit complicated, but osm data can be edited with osmium (cpp) or pyosmium (python). Then the edited data can be put into osmandmapcreator to generate the file to use in Osmand. (I used this to route around ALPRs)

Some more context for Japan's land use (it does not differ prefecturally; some local regulations like kyoto and building colors)

The basics of Japan's Land use rules in english (only 8 pages; mostly tables/pictures and very straightforward): https://www.mlit.go.jp/common/001050453.pdf

- In the "Control of Building Use by Land Use Zones" you can see how even the most exclusive of zoning enables "Houses with other small scale function", Clinics, Schools or stores with very small footprints.

- Structures are restricted by the shape, shadow, and floor area.

- No mention of "single-family" housing.

A map (of Tokyo) overlaying the gradient of zoning from least to most permissive. You can see how the up-zoning follows the major roads: https://tokyochizu.github.io/zoning.html

I like:

Kaeru no tsura ni shonnbenn, カエルの面に小便, (Like) piss on a frogs face;

Basically the idiom "like water off a ducks back"

A license isn't needed for an electric bicycle. The law states that it is classified as an electric bicycle if it is only pedal assist and only up to 24kph (15mph). The issue arises when either there are no pedals, or it can be operated without using pedals, like these suitcases. Electric only operation moves the classification to a scooter, thus license needed.

https://archive.ph/Fw5lX

https://www.keishicho.metro.tokyo.lg.jp/kotsu/jikoboshi/elec...

I only have some light use cases, so I use a cheap laptop (<$250) with a ryzen APU 8gb soldered/shared ram. Then added a 16gb ram stick, booted off a usb bios from github, increased uma buffer to 8gb. I had stable diffusion working, it was slow, but I'm pretty sure its faster than cpu/ram (2 min for 512x512 20-25 step).

GPT-4o 2 years ago

There is a spelling mistake in the japanese translation under language tokenization. In こんにちわ, わ should be は.