Skip to main content
← All apps

Local

Neighborhoods / local areas

$10/mo, $150 to install. Ways to pay

This manual is a draft and may change.

What it does

Neighborhoods / local areas gives your site a guide to the places you cover. Each area has a page with its history, landmarks, schools, parks and transit, a map that draws its boundary, and a list of the businesses inside it. Areas can sit inside bigger areas (a district inside a quadrant, a neighborhood inside a city), and a ranking page lines the areas up against each other.

You draw each area once, by pasting its boundary. After that, businesses tag themselves: when a business in your directory is approved, edited by its owner or claimed, the app looks at where it is on the map and files it under the most specific area that contains it. Nobody tags businesses by hand. If a boundary changes, one button re-checks every listing.

The ranking is a score out of 100 built from the measures you choose (for example walkability, how many businesses are in the area, a rating) and how much each one counts. If you have no score for an area on a measure, that measure is left out for that area rather than counted as zero, so a new area is not punished for data you have not entered yet.

Who uses it

  • Visitors read the area pages, look at the map, browse the businesses in an area and compare areas on the rankings page. They do not need an account.
  • Area editors write the profiles, paste boundaries, type scores, publish areas and press Re-tag listings.
  • Area managers do everything editors do, and also create and archive areas, arrange them into regions, and set up the ranking measures and their weights.

Setup

  1. Ask your 1vsM contact to install Neighborhoods / local areas on your site. It installs Access and the event outbox first, automatically.
  2. Give your team the Areas editor or Areas manager role.
  3. To have businesses tagged automatically, also have Business directory installed. Without it the app still works for areas, profiles and rankings; only the "businesses in this area" list stays empty.
  4. The map uses OpenStreetMap by default, with its credit shown on the map. To use another map provider, your 1vsM contact sets it in your site's settings; no key is ever put in the page code.
  5. Open Areas in the admin menu to start. Your public pages are at /areas, /areas/rankings and /areas/<area name>.

Admin tasks

  • Create an area (managers). Open Areas → Areas, type a name under New area, optionally pick a parent region, and select Create draft. A draft is private: it is not on the public pages and not ranked.
  • Write the profile. Select the area, fill in the summary, history, how it feels, ZIP codes, and one line each for landmarks, schools, parks and transit. For the lists, write Name | a short note on each line. Select Save area. Choose Published under Status when it is ready.
  • Add the boundary. On the same page, paste the boundary under Boundary and select Save boundary. It must be GeoJSON: a Polygon or MultiPolygon, with the longitude first, every outline closed (its last point is the same as its first) and no more than 5,000 points in total. Holes (a lake in the middle of a neighborhood) are fine. If something is wrong the app tells you what and keeps the old boundary. Leave the box empty and save to remove the boundary.
  • Re-tag listings. After you add or change a boundary, open Areas → Areas and select Re-tag listings. It re-checks every live business, moves the ones that are now in a different area, and clears the ones that are in none. It tells you how many it tagged, moved and cleared. Businesses approved or edited from now on are tagged on their own.
  • Arrange regions. Open Areas → Regions. Pick a parent for each area and select Move (managers). An area cannot be put inside itself or inside one of its own children, and the tree can be five levels deep. A region page also lists the businesses of the areas inside it.
  • Set up the ranking. Open Areas → Index axes (managers). Each measure has a key, a label, a weight, where its numbers come from, and how they are scaled:
  • Typed scores are numbers you enter for each area on the area's page; Count of tagged listings is worked out for you.
  • Linear scaling suits a score with a fixed range (for example 0–100). Log scaling suits counts, so one huge number does not drown the rest.
  • Weight says how much a measure counts. A weight of 0, or switching Counts in the index off, takes it out of the score.
  • The Ranking preview below shows the order the public will see.
  • Archive an area (managers). Select Archive on the Areas tab. Its businesses are untagged and its scores are archived; nothing is deleted for good. An area that still has areas inside it cannot be archived until you move or archive them.
  • Numbers at a glance. The Areas tab shows published areas, listings tagged, and the share of businesses with a location that are tagged.

Member view

There is nothing for signed-in members to do here. The area pages are public. A business owner sees their business listed under the area it is in, on the area page, and nowhere else changes for them.

Styling it to your brand

This app takes its colours, fonts and corners from the brand profile you enter once in 1vsm.com's Brand intake. It applies to every app automatically, so there is nothing to set up inside this app. It follows your visitor's light or dark setting.

Troubleshooting

  • A business is not under any area. Check that the business has a location on the map (an address that has been placed, not just text), that it is approved and live on your site, and that some published or draft area's boundary covers that exact spot. A location of exactly 0, 0 means "no location" and is never tagged. Then select Re-tag listings.
  • A business is in a hole of the area. A hole in the boundary is outside the area on purpose. It is tagged to the area around it, if there is one.
  • The business is under the big region, not the neighborhood. The neighborhood's boundary does not cover the spot. Fix the boundary and re-tag.
  • "The boundary is not closed". The last point of each outline must be exactly the same as its first. Most GeoJSON tools do this for you; a hand-typed outline often forgets.
  • "…outside longitude ±180 / latitude ±90 (are they swapped?)". GeoJSON writes longitude first, then latitude. In the US the first number is negative (about −122 for Portland).
  • "More than 5,000 points; simplify it first." Run the outline through a simplify tool; a neighborhood does not need more detail than that.
  • An area is missing from the public pages. It is still a draft, or it was archived.
  • An area shows "Not scored yet" on the rankings. It has no value on any measure that counts. Type a score for it, or add the count-of-listings measure.
  • The map is blank. The map needs the page's script, and an area needs a boundary or the map is not shown at all. The text of the page always works.
  • A listing moved area by itself. The business owner changed its location, or you changed a boundary and re-tagged.

FAQ

Do I have to tag businesses myself? No. They are tagged when they are approved, edited by their owner or claimed, and in bulk when you select Re-tag listings.

What if a business is inside two areas? It goes to the most specific one: the one that is deepest in your region tree. If two are at the same level, the smaller one wins.

Can a business be in an area and a region? It is filed under the most specific area only, but the region's page also lists the businesses of the areas inside it.

Can I rank only the areas of one region? Yes: /areas/rankings?region=<region name> shows only the areas inside it.

Does the map need a paid account? No. It uses OpenStreetMap by default and shows its credit.

Can I use this for things other than businesses? Yes. Anything with a location can be tagged to an area (events and branches are the planned next uses); the businesses list and the "businesses in this area" count are for directory listings.

Where do I get a boundary? Many cities publish neighborhood boundaries as open data (look for "neighborhood boundaries GeoJSON"). Paste one area's outline at a time. Importing a whole file at once is planned.

What to connect

Nothing to connect: this app works with what is already on your site. Your brand colours, contact details and social links come from Set up your site.