Jump to content

 
Photo

shoot my trouble plz

- - - - -

  • Please log in to reply
4 replies to this topic

#1
haris179

haris179

    Contributor

  • Validated Member
  • PipPip
  • 20 posts
  • Gender:Male
  • Location:islamabad
  • Pakistan

how can i merge shape files of points, plines and pgons????????????? :blink: .

#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,868 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

how can i merge shape files of points, plines and pgons????????????? :blink: .


Not...

At least not if you want the output to be a shapefile too, as the shapefile specs only support one type of geometry per file.
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,303 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

well...

Hans is right - but if you really, really really needed to, you could manipulate the geometry such that they all share the same "type" of geometry. For instance, you could buffer the plines and points to create polygons that share the attribute data and then perform some sort of merge operation.

Depending on what you are doing - it may or not be an appropriate method and 'merge' is a pretty loaded term amongst all the boolean operations.

co-cartographic creator of boringmaps.com


#4
BradGISOkla

BradGISOkla

    Newbie

  • New Member
  • Pip
  • 3 posts
  • United States

how can i merge shape files of points, plines and pgons????????????? :blink: .

Actually I believe the new open source tools will write and use multi geometry shape files. you could check out osgeo for an abundant open source list. One I have seen quite a bit of activity on is fwtools.
happy hunting.

#5
M.Denil

M.Denil

    Key Contributor

  • Validated Member
  • PipPipPip
  • 56 posts
  • United States

The entirely natural desire to have points, lines, and polygons (not to mention routes and regions) in the same file is the reason god created coverages. Get thee to an ArcInfo license, haris179.

In these degenerate post-modern times, try creating feature datasets of the related files, and employing relation classes and topologies; both geodatabase and map.

The 'make everything a polygon' solution may work in some cases, but be sure that quick and dirty is the answer you want.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->