FlowsBook a callSign inCreate free accountSign up
Business and places data

How to make a map of schools in a district, from preschools to secondary

Primary, secondary, international and special schools under one boundary, each a layer you can switch on and off, and the children around them where data exists.

Part of the guide Location intelligence automation

By the xMap team · · 4 min read

To make a map of schools in a district, draw the district's boundary, search it for every school type that applies in that country, and show the results as layers by type so primary, secondary and specialist schools can be switched on and off. The boundary keeps out schools from the next district; the types make sure nothing is missed because one country says elementary and another says primary.

Education planners, school suppliers and edtech sales teams, bus operators, property developers and journalists all need this map. Below: the types to choose, how to set the boundary, how to read the layers, a made-up example in Bogota, the common errors, and an AI employee that redraws the map each term.

School types differ by country

xMap's places database keeps primary and secondary schools in one large group of about fifty types, because each education system names its schools its own way. Pick what fits the district:

  • Early years: preschool, kindergarten, nursery school, Montessori preschool.
  • Primary: primary school, elementary school.
  • Middle and secondary: middle school, secondary school, high school, senior high school, comprehensive secondary school.
  • Systems named by country: grammar school, gymnasium school, lyceum, Realschule, CBSE school, ICSE school, state board school.
  • All-through and others: combined primary and secondary school, K-12 school, international school, government school, special education school, vocational secondary school.
  • The catch-all: school, which many owners use when nothing more precise fits.

A Nearby places block takes up to 12 types. A typical district needs one block for early years and primary and one for secondary and specialist, which also gives you two clean layers on the map.

Setting the boundary

Districts rarely match a circle. In the Area of interest block, draw the district's outline or paste it as GeoJSON if your planning team already has it. Nearby places searches from the middle of the shape to its edge, up to 25 km, and keeps only schools inside the line, so the map stops exactly where the district stops.

Reading the map

Show on a map draws each category as its own layer; a click on the legend hides or shows it. Clusters keep a dense centre readable, and the heat view shows where schools crowd together and where they thin out. Click a school to see its type, address, phone and website when listed, its rating and whether it is open.

The map becomes much more useful with the children who live around each school. In countries where xMap's population grid has figures, such as Canada, France, India, Thailand, Egypt and Australia, Demographics adds residents and the 0 to 9 and 10 to 19 age groups for each block of the district. It has no figures for the United Kingdom or the United States, so there the map shows schools only.

A made-up example: Chapinero, Bogota

Invented, to show the method. A school uniform supplier wants every school in one Bogota locality to plan sales visits by level. Its planner draws the locality, runs one block for preschool, kindergarten and primary types, another for secondary, international and the catch-all school.

Made-up layerSchools foundWith a phone listedWithin 500 m of another school
Preschool and kindergarten584135
Primary and elementary332719
Secondary, international and other292514

Invented figures to explain the reading; not data about Bogota.

The heat view shows a tight cluster of preschools along two avenues, so reps plan those as a single morning of visits. Secondary schools are fewer and spread out, a better fit for calls than walks.

Common errors

  • Using a circle. A circle drawn on the district's centre spills into its neighbours and misses its corners.
  • One type. Searching school alone loses everything filed as primary, high school or kindergarten.
  • Forgetting local names. In Germany gymnasium is a school, not a gym; in India the board name is the type.
  • Reading the catch-all as a level. Schools typed simply as school can be any level; check a few before counting them as primary or secondary.
  • Expecting enrolment. The database lists schools, not pupils or capacity. Children living nearby is the closest honest proxy, and only where population figures exist.

An AI employee for the district map

  1. Schedule: at the start of each term.
  2. Area of interest: the district outline.
  3. Two Nearby places blocks: early years and primary, then secondary and specialist.
  4. Only new: schools that were not on last term's map, flagged.
  5. Show on a map, saved each run, and an email to you with the new schools and a link to the map.

For planning work, Children per school, block by block adds population and a ratio per block; for sales, Schools near my exhibition, for school trips sends the list to a CRM. Education teams will find more flows on education and training, and the guide to location intelligence automation puts it in context.

Questions

Which types should I pick for schools?

Primary school, elementary school, secondary school, high school, middle school and the catch-all school cover most places; add preschool, kindergarten, international school and the country's own names as needed.

Can the map follow an official district boundary?

Yes. Draw it in the Area of interest or paste it as GeoJSON; only schools inside the line are kept.

Can I see how many children live near each school?

Where xMap's population grid has figures, such as Canada, France, India and Australia, Demographics adds children by age group. It has no figures for the UK or the US.

Does the map show school size or results?

No. It shows the school, its type, contact details and rating where listed.

Templates that do this

Read next

More on business and places data · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.