Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vector]

A coordinate-based data model that represents geographic features as points, lines, and polygons.

4
votes
3answers
13k views

Hover/Popup feature problem

im really having an issue here. I am trying to realise a map where i can hover over the features and they get highlighted (works), then i want to be able to click them (works) , i also want a div to ...
12
votes
2answers
2k views

Tiling Vector data without losing geometrical and topological information

I am trying to figure out a way to sub-divide a vector based map into smaller blocks. I can tile the map based on different strategies such as q-tree. However, it is unavoidable to cut some polylines ...
7
votes
3answers
4k views

Creating a raster surface of overlaps from vector polygon shapefiles?

Basically what I'm trying to do (in ArcGIS 10) is to compare three vector files in order to create a 'comparison' raster layer. I tried using Data Comparison (under Data Management tools) but it didn'...
12
votes
1answer
538 views

Spatial operators in R?

How can I do spatial selections or filters in R? I can do this in PostGIS using (e.g.): SELECT * FROM mypoint, mypoly WHERE ST_Within(mypoint.geom, mypoly.geom); and it is similarly a piece of cake ...
5
votes
2answers
921 views

Distribute points respect to features using Quantum Gis

I want to know if there is any tool to make points with respect to selected features in a theme? Using: vector, investigating tools, regular points you can do it but not with respect to a selected ...
-2
votes
1answer
154 views

How to create a new table for a vector file? [closed]

I will use v.db.connect but I want to use a new table, and not an existing table to connect it to. What is the GRASS script for it?
1
vote
1answer
279 views

Why is the geonames not loading?

I want to import a geonames file. I downloaded the geonames .txt file from http://download.geonames.org/export/dump/ I used: v.in.geonames input=PH.txt output=ph but it displayed ...
1
vote
1answer
1k views

How to select a raster file that is under a polygon in a vector file?

I am using: v.db.select map=PHL_adm1 where=NAME_1='Bulacan' My vector map is over the raster map. I want to select the part of the raster map under the polygon(NAME_1='Bulacan') of a vector. Is it ...
1
vote
1answer
4k views

How to combine a vector and a raster file?

I want to combine a raster and a vector file. After combining, can I query on the resulting map to obtain a specific area? How?
4
votes
1answer
847 views

How to know contents of column names in GRASS?

I am using GRASS to extract a specific area from a vector map. Here is the script that I am running: v.extract PHL_map out=makati where="AREA_NAME = 'Makati" The problem is, I don't know what are ...
4
votes
2answers
1k views

Calculating spacing of polylines along transects using ArcPy?

I have a shapefile with a number of roughly parallel lines in it, and I want to calculate the spacing between these lines using a number of transects across the map. How should I go about this? I ...
2
votes
2answers
639 views

How to query data from a vector map (shapefile)?

We want to obtain the specific place of the boundaries of a shapefile. We want to be able to get the points of each polygon corresponding to a specific place in order to use these data in an algorithm....
4
votes
2answers
3k views

Working With Vector Product Format (VPF) - APIs, etc

I've been looking around the Internet for information about Vector Product Format. I want to put together a project that can read Digital Nautical Chart (http://msi.nga.mil/NGAPortal/DNC.portal), ...
7
votes
5answers
9k views

Merge overlapping lines in ArcGIS

I have a polyline shapefile containing a number of lines, some of which overlap. By overlap, I mean that they follow exactly the same path for some of their route, but also have bits that are not ...
3
votes
4answers
5k views

Merging polylines that join in ArcGIS Desktop?

I have a number of polylines (around 9000), a number of which have one or both ends touching another polyline. I would like to merge these ones together into one polyline - thus reducing the number of ...
4
votes
4answers
3k views

OpenLayers WFS vector layer rules don't get applied

I have a script which applies rules to wfs.vectors. The script works fine in Firefox and all the rules get applied, but somehow when I open the same file with the Internet Explorer 7 / 8 , only the ...
5
votes
4answers
12k views

Free Mercator, Vector Maps [closed]

Are there any free, vector, mercator projection maps available online? I'm not wanting satellite imagery, but more a stylized map along the lines of this: However, I need it to be vector-based such ...
7
votes
4answers
833 views

Comparing 2 vector files

I'm looking for a tool which compares two vector files (eg shapefiles). Eg 2 versions of a river network. Quite a lot of the records are equal, but some are different. A possible output would be eg a ...
5
votes
8answers
2k views

Any Good Map Rendering Engines for SqlGeometry/SqlGeography

Can anyone suggest good map rendering engines for MS SQL Server Spatial types (SqlGeometry/SqlGeography)? By rendering, I mean plot the geometries to a common image format such as png or jpeg with ...
7
votes
1answer
613 views

How to use simplify()

i have my Vector Data saved in a PostgreSQL PostGIS enabled Database. The Data im displaying is very detailed, i want to simplify it through the simplify() method of Postgis. I duplicated one of my ...
17
votes
2answers
3k views

Rubber sheeting in GRASS?

We are in the process of getting our property boundaries corrected and a side effect of this is that we need to move any assets that have been drawn relative to the property boundaries, so they are ...
4
votes
3answers
337 views

Enlarge/roughen the Vector Size of Tiles

I'm currently running a GeoServer service and my task is to make the vectors rougher than they are right now. I really don't know where and how GeoServer processes the data from the database and how ...
-8
votes
3answers
2k views

Delivering map tiles in real-time without caching? [closed]

Is it possible to deliver map tiles quickly over the web without worrying about caching or seeding them? With raster map engines this is a problem because endering raster tiles is resource consuming. ...
7
votes
1answer
2k views

Programmable buffers using GDAL and python

Is there a way to programmatically generate buffer layers for vector layers using GDAL and python?
5
votes
3answers
4k views

How to calculate orientation of line segments using open source GIS?

I'd like to calculate the orientation of line segments relative to north direction using open source tools. Which tools or functions would you recommend?
7
votes
5answers
6k views

Calculating polygon length and width using open source GIS?

How can I calculate the length and with of polygons using open source tools? By "polygon length" I mean the length of the longest line within the polygon (update: to be correct, I just need the ...
7
votes
3answers
842 views

How to get a list of adjacent lots to a road in ArcMAP and PostGIS/QGIS?

In the following map, I have: A line / road layer A parcel / lot layer The Task: Find and count the list of lots adjacent to the road with their types (parcel_type is a field in the parcel layer) ...
4
votes
5answers
4k views

Merging DEMs or other raster datasets and clipping Raster dataset to vector line?

I have two DEMs that I am going create a hillshade from, and ultimately want one hillshade clipped to a county boundary. I am running into a couple problems, though. When I try to merge the two ...
2
votes
4answers
3k views

How to style OS VectorMap district data?

Following a question about ways to load OS VectorMap data, I have imported the data into ArcGIS, but now want to style it in a OS-map style. I have searched around, and found various bits of ...
1
vote
1answer
138 views

How to reference vector based data to raster data that already has spatial reference in MAPublisher?

I have been able to load in raster data into MAPublisher and properly registered it, however I have been having trouble with a further step. I am trying to reference vector data that has no GCS or ...
36
votes
7answers
17k views

Nearest neighbor between point layer and line layer? [closed]

I've asked this question several times on stackoverflow and irc between #qgis and #postgis and I also tried to code it or implement it my self in postgis with no real answer. Using programming (most ...