logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Forgot password?
    • en
    • ru
    • pt
    • es
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Download of OpenStreetMap in FastReport .NET
  • Interactive forms in PDF export Fast Report .Net 2018

    January 17, 2018

    It's no secret that the PDF standard allows you to create fillable forms. That is,

    read more
  • How to display report pages on separate sheets in Excel

    October 14, 2019

    Until recently, the export of multi-page reports in Excel format was done on one sheet.

    read more
  • How to draw a chart based on custom variables

    January 8, 2020

    An important part of the report is a graphical component, namely graphs and charts. They

    read more
  • How to create a custom toolbar for web FastReport.NET report

    May 31, 2020

    Many users of report generators are interested in setting up the toolbar when reviewing the

    read more
  • How to insert a report into the body of a email

    July 9, 2020

    By default, FastReport.Net allows you to send e-mails with an attached report file in one

    read more

Download of OpenStreetMap in FastReport .NET

April 30, 2016

In FastReport .Net 2016.2 we added an opportunity to download maps from OpenStreetMap files (* .osm).
In this article I would like to show how to do it

First we should get a file containing part of OpenStreetMap data.
In ordert to do this:

1. Go to the website http://www.openstreetmap.org
2. Find the city which we are intrested in. To do so we should enter the name of city in the search box, e.g. New York.



3. We can find the necessary part of the city using moving and zooming the image.



4. Now we should select and export an area of the map. To do this, click the "Export" button. And then click "Manually select a different area". We will see illuminated rectangular area. This area can be changed by dragging its corners.



5. After selecting a part of the map click "Export" button. We will see usual save file window. Map will be saved in map.osm file. This file can be found in the Downloads folder of browser.
6. If occurs an error after pressing the "Export" button, we should select smaller area. Because OpenStreetMap does not allow to exporting too big areas of the map.

Now we can open the resulting file in FastReport .Net designer.
1. Create a map on report page.



2. We should run the map editor using double click on the map.



3. Click Add button in appeared window.
4. Select "Map file" in next window and click the Open button.



5. We will see the open file window. We should select "OpenStreetMap file(*.osm)" filter, select the file and click Open button.
6. Now we just should click "OK" in add layer window.



7. The map will be loaded and shown in the preview area of map editor. Now we can close the map editor by clicking OK button.



Map is loaded successfully.


about product download buy
avatar
Oleg Kojnikov
Team lead
.NET FastReport Maps

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Our team
  • Contact us

© 1998-2021 by Fast Reports Inc.

  • Privacy Policy