Hot answers tagged

16

There are two possibilities. The more likely is that you have Chrome zooming the page in or out, which introduces the white lines. Do cmd-0 (or ctrl-0) and see if that fixes it. Otherwise, add that line to your CSS file, which might be site.css or whatever. Add it to the bottom, though it doesn't matter much. A live example would make this question easier ...


13

I saw this answer on the Openlayers mailing list a few days ago. You need to make sure you are providing a version, such as v=3.6: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&v=3.6"></script> Then it should disappear. -- May 17, 2012 edit: I just saw that this problem has returned on the ...


9

Yes, always anticipate coordinates to fluctuate. Though the building is not likely to shift on the earth's surface, using coordinates as identifiers/keys for addresses is a bad idea because the data set is going to move from underneath you: Accuracy a matter of definition. Is an address most accurately pinned at its mailbox, or its largest structure, or ...


8

Lubar, I saw your post at Stack Overflow but am going to post a similar answer here for consistency. It's a good question. I work in the address verification industry and have tackled your kind of problem before. I linked to this Stack Overflow question in a comment; and it's important to know that there's really no guarantee about the format of complete ...


8

The Mercator projection has been around for a few hundred years. I don't know when the ellipsoidal version of the algorithm came into being (I don't have my reference books at my current location), but certainly the spherical version is quite old. Both versions certainly pre-date the use for web-based map imagery. By ellipsoidal / spherical, I mean that the ...


8

Well, most people say OsmAnd is the best for Android. Lacking further details, I can't judge on your particular case. You need to know what features you want: an app for end users or for mappers? support for smartphone or tablet? online or (fully) offline? routing with different profiles? POI search, address lookup? open source / free / commercial app? ...


7

I have recently written a tutorial about the S2 and I think that the S2 is what you really need. I have made the same you need in the tutorial so I won't repeat the code here.


6

ArcMap has a Geoprocessing Tool that Adds XY Coordinates as two new fields in the attribute table. If you're set up in a projected coordinate system, you'll need to first change over to the geographic system in order for the output of the tool to be in Lat Long. Alternatively you can open a new map, set the data-frame to WGS 84 (Right-click 'Layers' in the ...


6

I would recommend a different strategy, that consists on using the Java library JTS Topology Suite, which is open source software. By using the class WKTReader you can get, for example, an instance of the MultiLineString class from the WKT you have. This class has methods to get the coordinates you need.


6

Maps.me has map viewing POI search and query, routing and navigation and it can be used offline. Data is updated frequenrly and It is available for android and ios.


6

Get the x,y coordinates of the boundaries of countries from the following website Natural Earth (thanks, Devdatta Tengshe) which has more accurate data than others I've tried. Then use ArcGIS 10.2 to open the map shape file and select the boundaries you need. Go to data management tools --features-- features vertices to points and open the generated table. ...


6

You can find a statement of the plugin author with a link to the terms of use here: https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg21665.html Search for "you must not access map tiles" in the TOS (https://developers.google.com/maps/terms). That's why the OpenLayers plugin is using only the Javascript API with a WebKit Browser. My ...


5

Your question contains a number of sub-questions - this answer addresses solving the server side part of spell checking. A while back I've implemented a spelling corrector for addresses based on Peter Norvig's How to Write a Spelling Corrector. Instead of using books to build your training corpus, your dictionary will be based on words tokenized out of ...


5

Google has a permissions tool here. When you click through the options, it seems like your use of the map (academic, in print-media) would probably fall under fair-use so long as you do not obscure the copyright. Is it possible to make the same image using OpenStreetMap?


5

Here's the documentation from Google: https://developers.google.com/transit/gtfs/reference In this model, a "trip" occurs along a "route". I think the simplest difference can been seen in the fact that a "route" has no directionality, it's just a line along which a transit vehicle travels. So if you look only at the route, you don't know which direction ...


5

Unfortunately the terms are bound to only using the service with Google Maps API The Elevation API has the following limits in place: 2,500 requests per 24 hour period. 512 locations per request. 25,000 total locations per 24 hour period but more importantly The Elevation API may only be used in conjunction with displaying results on a Google map; using ...


5

Alternatively, a DEM with global coverage that might suit you is the SRTM 1 second DEM. This was recently released and has a resolution of about 30 metres. Read about it at http://www2.jpl.nasa.gov/srtm/ and download load it (free) at http://earthexplorer.usgs.gov/.


5

The Google Elevation API is not accurate enough at a Building level. You can test it out by using going to http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm Just search for 1 World Trade Center, New York, NY 10007 and then click around, and you'll see that the heights that you get aren't really for the top of a building


4

Not sure if this is "legal" but i just made it go away with CSS. .olLayerGoogleCopyright {display:none;} UPDATE Apparently this violates the terms of use: By doing so, you violate the Terms of Use. Instead, you should use a more recent version of OpenLayers - this problem was fixed in 2.11. Are you using 2.11? Apparently it's no longer a problem. -...


4

Open Trip Planner (Developer Section) OTP Deployer — The easiest way to get started with OTP is by using OTP Deployer, an web-based utility provided by OpenPlans Transportation. Deployer allows users to simply provide their transit data in the standard GTFS formay, and the rest of the process — from gathering street network data to building the ...


4

Transit routes. A route is a group of trips that are displayed to riders as a single service. (The entire route) GTFS Routes are equivalent to "Lines" in public transportation systems. Routes are defined in the file routes.txt, and are made up of one or more Trips - remember that a Trip occurs at a specific time and so a Route is time ...


4

As far as I know there is no way to use Google Street View in QGIS. QGIS without Globe does not offer 3D capabilities. Globe is a work in progress and currently does not work on Windows according to Sourcepole (http://sourcepole.ch/the-state-of-qgis-globe).


4

What you are requiring sounds like Map Channels (v4) or MapFab It's Simple you sign up and load your data from Google Spreadsheets in and you can edit/filter data. This does not edit data directly with the map. http://www.mapchannels.com/MC4Demo.aspx If you want edit data directly on the map I suggest: MapFab http://www.mapfab.com/editor/new (both use ...


4

For the points you gathered from google maps, you should use WGS1984: GCS_WGS_1984 Authority: Custom Angular Unit: Degree (0.0174532925199433) Prime Meridian: Greenwich (0.0) Datum: D_WGS_1984 Spheroid: WGS_1984 Semimajor Axis: 6378137.0 Semiminor Axis: 6356752.314245179 Inverse Flattening: 298.257223563


4

Mercator projection from the sphere was developed by Mercator, Wright and others, in the period between 1569 and 1640, when logarithms were fully discovered and understood. When, years later, the ellipsoidal shape of the earth was proven, other scientists (Murdock 1741, Lambert 1772) developed the ellipsoidal formulas. They are called direct Mercator ...


4

Logically the service_id field should be defined as a foreign key in trips. However, this is made difficult by the fact it can reference a row in either calendar or calendar_dates. Normally foreign keys in a relational database define a relationship between exactly two tables, not three or more. What I have done in the past is simply skip defining this ...


4

OpenLayers 3 developers don't intend to support Google Maps out of the box. It was a mess for developers for the OpenLayers 2 version as it broke several times and was making the library more bloated. You should better use a project that use OpenLayers 3 called ol3-google-maps or simply avoid using Google Maps with OpenLayers 3.


4

You can see your location history on a map using your Timeline. You can download your location history as KML and then view in any GIS or Google Earth.


3

Here is an AJAX Tutorial that explains and shows how to set up a service with it. Using MySQL (can be modified for Postgres) php javascript. http://www.dynamicajax.com/fr/AJAX_Suggest_Tutorial-.html NOTE: The search box on the dynamicjax site is suggesting when you start typing/searching. You will need to modify this to suit your DB. The database ...


3

It's the same behaviour as reported here: How to close watermarks window in QGIS Openlayers plugin? It's reported here: http://trac.osgeo.org/openlayers/ticket/2984 and solved here: https://github.com/openlayers/openlayers/commit/92f04a7a4277a6c818ef2d40a2856910ed72d3d6 So, either try the nightly build of openLayers, wait for next release, or apply the ...


Only top voted, non community-wiki answers of a minimum length are eligible